diff --git a/Dialogs/MessageBoxDialog.xaml.cs b/Dialogs/MessageBoxDialog.xaml.cs index cf398ef..289ac31 100644 --- a/Dialogs/MessageBoxDialog.xaml.cs +++ b/Dialogs/MessageBoxDialog.xaml.cs @@ -24,7 +24,7 @@ public enum DialogSound { /// public partial class MessageBoxDialog : Window { - public MessageBoxResult result = MessageBoxResult.Cancel; + public MessageBoxResult result; public MessageBoxDialog(string message, string title, MessageBoxButton buttons, DialogSound sound) { InitializeComponent();