protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
private void courseSummaryMenu_Click(object sender, EventArgs e) { Reports reportGenerator = new Reports(); string testReport = reportGenerator.CreateCourseSummaryReport(controller.GetEventDB()); ReportForm reportForm = new ReportForm(Util.RemoveHotkeyPrefix(courseSummaryMenu.Text), "", testReport, "ReportsCourseSummary.htm"); reportForm.ShowDialog(this); reportForm.Dispose(); }
private void reportTesterToolStripMenuItem_Click(object sender, EventArgs e) { Reports reportGenerator = new Reports(); string testReport = reportGenerator.CreateTestReport(controller.GetEventDB()); ReportForm reportForm = new ReportForm("Test Report", "", testReport, "PurplePenWindow.htm"); reportForm.ShowDialog(this); reportForm.Dispose(); }