diff --git a/InstaSoftOfficeTool.csproj b/InstaSoftOfficeTool.csproj index 299c206..b6e3152 100644 --- a/InstaSoftOfficeTool.csproj +++ b/InstaSoftOfficeTool.csproj @@ -9,9 +9,9 @@ InstaSoft Zrt. InstaSoft Office Tool Copyright (c) InstaSoft Zrt. 2026 - 1.0.7 - 1.0.7.0 - 1.0.7.0 + 1.0.8 + 1.0.8.0 + 1.0.8.0 app.manifest latest diff --git a/MainWindow.xaml b/MainWindow.xaml index 6ddb77f..eefdfca 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -1,6 +1,7 @@ + + @@ -42,7 +45,7 @@ Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/> - @@ -70,5 +73,9 @@ + + + + diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 6b923b9..5ab2625 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; @@ -194,6 +195,13 @@ namespace InstaSoftOfficeTool BtnNext.Click += (s, e) => Close(); } + public Task ConfirmAsync(string title, string message, + string confirmText = "Igen", string cancelText = "M\u00e9gse", + DialogType type = DialogType.Warning) + { + return Dialog.ShowAsync(title, message, confirmText, cancelText, type); + } + public void ShowBackToHomeButton() { BtnBack.Content = "\u2190 F\u0151oldal"; diff --git a/Pages/ConfirmDialog.xaml b/Pages/ConfirmDialog.xaml new file mode 100644 index 0000000..64124d7 --- /dev/null +++ b/Pages/ConfirmDialog.xaml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + +