Example #1
0
 public static DialogResult Show(Form form, string content, string title)
 {
     messageBox?.Dispose();
     messageBox = new GlobalErrorMessageBox();
     messageBox.labelContent.Text = content;
     messageBox.Text = title;
     return(messageBox.ShowDialog(form));
 }
Example #2
0
 public static DialogResult ShowError(Form form, string content)
 {
     return(GlobalErrorMessageBox.Show(form, content, SystemDefault.SolutionName));
 }