public static void ShowReport(string reportText) { if (processReportForm == null || processReportForm.Disposing || processReportForm.IsDisposed) { processReportForm = new ReportForm(); processReportForm.Show(); } processReportForm.SetReportText(reportText); processReportForm.Activate(); }