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