浏览代码

Fix message box image type

Daniel Chalmers 2 年之前
父节点
当前提交
5bf3b2bbd0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      DesktopClock/MainWindow.xaml.cs

+ 2 - 2
DesktopClock/MainWindow.xaml.cs

@@ -55,7 +55,7 @@ public partial class MainWindow : Window
         var result = MessageBox.Show(this,
         var result = MessageBox.Show(this,
             $"This will make a copy of the executable and start it with new settings.\n\n" +
             $"This will make a copy of the executable and start it with new settings.\n\n" +
             $"Continue?",
             $"Continue?",
-            Title, MessageBoxButton.OKCancel, MessageBoxImage.Information, MessageBoxResult.OK);
+            Title, MessageBoxButton.OKCancel, MessageBoxImage.Question, MessageBoxResult.OK);
 
 
         if (result != MessageBoxResult.OK)
         if (result != MessageBoxResult.OK)
             return;
             return;
@@ -72,7 +72,7 @@ public partial class MainWindow : Window
             $"In advanced settings: change {nameof(Settings.Default.CountdownTo)}, then restart.\n" +
             $"In advanced settings: change {nameof(Settings.Default.CountdownTo)}, then restart.\n" +
             "Go back by replacing it with \"0001-01-01T00:00:00+00:00\".\n\n" +
             "Go back by replacing it with \"0001-01-01T00:00:00+00:00\".\n\n" +
             "Open advanced settings now?",
             "Open advanced settings now?",
-            Title, MessageBoxButton.OKCancel, MessageBoxImage.Information, MessageBoxResult.OK);
+            Title, MessageBoxButton.OKCancel, MessageBoxImage.Question, MessageBoxResult.OK);
 
 
         if (result == MessageBoxResult.OK)
         if (result == MessageBoxResult.OK)
             MenuItemSettings_OnClick(this, new RoutedEventArgs());
             MenuItemSettings_OnClick(this, new RoutedEventArgs());