Example #1
0
 public static DialogResult Show(Exception e, string message)
 {
     using (ExceptionDialog dlg = new ExceptionDialog()) {
         dlg.Message = message;
         dlg.Exception = e;
         return dlg.ShowDialog();
     }
 }
Example #2
0
 public static DialogResult Show(Exception e, string message)
 {
     using (ExceptionDialog dlg = new ExceptionDialog()) {
         dlg.Message   = message;
         dlg.Exception = e;
         return(dlg.ShowDialog());
     }
 }