Global exception handling. Threadsafe MessageBoxAlertAdminDialog
This commit is contained in:
parent
5a80a0cc06
commit
114925ebce
9 changed files with 56 additions and 20 deletions
|
|
@ -46,7 +46,7 @@ namespace LibationWinForms.Dialogs
|
|||
|
||||
if (template is null)
|
||||
{
|
||||
MessageBoxLib.ShowAdminAlert($"Programming error. {nameof(EditTemplateDialog)} was not created correctly", "Edit template error", new NullReferenceException($"{nameof(template)} is null"));
|
||||
MessageBoxLib.ShowAdminAlert(this, $"Programming error. {nameof(EditTemplateDialog)} was not created correctly", "Edit template error", new NullReferenceException($"{nameof(template)} is null"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue