private GetExceptionDetailsAndLog ( ) : |
||
return |
private static void DoShow(Control owner, string title, string message, Exception exception) { var dlg = new ExceptionMessageBox { Text = title, _message = { Text = message }, _exception = { Text = exception.ToString() }, _realException = exception }; dlg._parameters = dlg.GetExceptionDetailsAndLog(); dlg._exception.Visible = false; if (owner != null) dlg.ShowDialog(owner); else dlg.ShowDialog(); }
private static void DoShow(Control owner, string title, string message, Exception exception) { var dlg = new ExceptionMessageBox { Text = title, _message = { Text = message }, _exception = { Text = exception.ToString() }, _realException = exception }; dlg._parameters = dlg.GetExceptionDetailsAndLog(); dlg._exception.Visible = false; if (owner != null) { dlg.ShowDialog(owner); } else { dlg.ShowDialog(); } }