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