From fae040a4525e236d2f39f604e143a5f3aa304a12 Mon Sep 17 00:00:00 2001 From: Alexey Yagelo Date: Mon, 9 Jul 2018 01:59:50 +0300 Subject: [PATCH] MessageBox style fix --- YAKD/MainWindow.xaml.cs | 5 +++++ YAKD/YAKD.csproj | 15 +++++++++++++-- YAKD/app.manifest | 31 ------------------------------- 3 files changed, 18 insertions(+), 33 deletions(-) delete mode 100644 YAKD/app.manifest diff --git a/YAKD/MainWindow.xaml.cs b/YAKD/MainWindow.xaml.cs index 7f57fca..499ad24 100644 --- a/YAKD/MainWindow.xaml.cs +++ b/YAKD/MainWindow.xaml.cs @@ -7,6 +7,10 @@ using System.Windows.Input; using System.Windows.Media; using YAKD.Utils; +using MessageBox = System.Windows.Forms.MessageBox; +using MessageBoxButton = System.Windows.Forms.MessageBoxButtons; +using MessageBoxImage = System.Windows.Forms.MessageBoxIcon; +using MessageBoxResult = System.Windows.Forms.DialogResult; namespace YAKD { @@ -24,6 +28,7 @@ public MainWindow() comboBoxFill = false; InitializeComponent(); comboBoxFill = true; + System.Windows.Forms.Application.EnableVisualStyles(); InitializeMainWindow(settings); InitializeKeyDisplayerForm(settings); keyDisplayerForm.Show(); diff --git a/YAKD/YAKD.csproj b/YAKD/YAKD.csproj index 23cb294..c56a573 100644 --- a/YAKD/YAKD.csproj +++ b/YAKD/YAKD.csproj @@ -27,6 +27,7 @@ 0 1.0.0.%2a false + true true @@ -51,8 +52,18 @@ icon48.ico + - app.manifest + 5AFB2B472798AC40D3E0055C6695A769785659FF + + + YAKD_TemporaryKey.pfx + + + true + + + true @@ -134,8 +145,8 @@ ResXFileCodeGenerator Resources.Designer.cs + - SettingsSingleFileGenerator Settings.Designer.cs diff --git a/YAKD/app.manifest b/YAKD/app.manifest deleted file mode 100644 index 4a065d7..0000000 --- a/YAKD/app.manifest +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file