From 602fc539f72fe23764f8631f837455de4e2c86e2 Mon Sep 17 00:00:00 2001 From: "Wesley Pyburn (TechNobo)" <10319195+TcNobo@users.noreply.github.com> Date: Fri, 23 Jul 2021 18:38:16 +0200 Subject: [PATCH] 2021-07-23_00 --- TcNo-Acc-Switcher-Client/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TcNo-Acc-Switcher-Client/App.xaml.cs b/TcNo-Acc-Switcher-Client/App.xaml.cs index a18b7f4af..ad4850042 100644 --- a/TcNo-Acc-Switcher-Client/App.xaml.cs +++ b/TcNo-Acc-Switcher-Client/App.xaml.cs @@ -208,7 +208,7 @@ protected override async void OnStartup(StartupEventArgs e) lastError = lastError.Skip(1).ToArray(); // TODO: Work in progress: //ShowErrorMessage("Error from last crash", "Last error message:" + Environment.NewLine + string.Join(Environment.NewLine, lastError)); - MessageBox.Show("Error from last crash", "Last error message:" + Environment.NewLine + string.Join(Environment.NewLine, lastError)); + MessageBox.Show("Last error message:" + Environment.NewLine + string.Join(Environment.NewLine, lastError), "Error from last crash", MessageBoxButton.OK, MessageBoxImage.Error, MessageBoxResult.OK); File.Delete("LastError.txt"); } }