mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-03 10:36:30 +13:00
Modified message box text when exceptions occur
This commit is contained in:
parent
ab9b0ea0b0
commit
5d04cc0abd
1 changed files with 11 additions and 6 deletions
|
@ -56,11 +56,16 @@ namespace SystemTrayMenu
|
|||
Log.Error("Application Crashed", ex);
|
||||
|
||||
MessageBoxResult dialogResult = MessageBox.Show(
|
||||
"A problem has been encountered and the application needs to restart. " +
|
||||
"Reporting this error will help us make our product better. " +
|
||||
"Press 'Yes' to open your standard email app (emailto: Markus@Hofknecht.eu). " + Environment.NewLine +
|
||||
@"You can also create an issue manually here https://github.com/Hofknecht/SystemTrayMenu/issues" + Environment.NewLine +
|
||||
"Press 'Cancel' to quit SystemTrayMenu.",
|
||||
"A problem has been encountered and SystemTrayMenu needs to restart. " +
|
||||
"Reporting this error will help us making our product better." +
|
||||
Environment.NewLine + Environment.NewLine +
|
||||
"We kindly ask you to press 'Yes' and send us the crash report before restarting the application. " +
|
||||
"This will open your standard email app and prepare a mail that you can directly send off. " +
|
||||
"Alternatively, you can also create an issue manually here: https://github.com/Hofknecht/SystemTrayMenu/issues" +
|
||||
Environment.NewLine + Environment.NewLine +
|
||||
"Pressing 'No' will only restart the application." +
|
||||
Environment.NewLine +
|
||||
"Pressing 'Cancel' will quit the application.",
|
||||
"SystemTrayMenu Crashed",
|
||||
MessageBoxButton.YesNoCancel);
|
||||
|
||||
|
@ -80,4 +85,4 @@ namespace SystemTrayMenu
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue