/// <summary> /// Sends the report. /// </summary> /// <param name="ex">The ex.</param> /// <param name="title">The title.</param> /// <param name="version">The version.</param> public static void ShowErrorReport(Exception ex, string title, Version version) { using (var form = new FormErrorReport()) { form.report = ErrorReport.CreateReport(ex, title, version); form.ShowDialog(); } }
/// <summary> /// Shows the specified title. /// </summary> /// <param name="title">The title.</param> /// <param name="ex">The ex.</param> public static void Show(string title, Exception ex) { Show(ErrorReport.CreateReport(ex, title, AppInfo.Version)); }