public static void Show(System.Windows.Forms.Form ParentForm, string Caption, string Text, string AuxText, InfoFormSendReportType SendReportType) { InfoForm infoForm = new InfoForm(SendReportType); if (AuxText != null) { infoForm.ShowForm(ParentForm, Caption, Text, AuxText, null); } else { infoForm.ShowForm(ParentForm, Caption, Text, null); } }
public static void Show(System.Windows.Forms.Form ParentForm, string Caption, System.Exception Exception, InfoFormSendReportType SendReportType) { InfoForm infoForm = new InfoForm(SendReportType); infoForm.ShowForm(ParentForm, Caption, Exception); }