private void attendanceReport(object sender, EventArgs e) { using (reports datReport = new reports(3)) { datReport.FormClosed += new FormClosedEventHandler(MyForm_FormClosed); datReport.ShowDialog(); } }
private void paymentHistorysummary(object sender, EventArgs e) { using (reports datReport = new reports(2)) { datReport.FormClosed += new FormClosedEventHandler(MyForm_FormClosed); datReport.ShowDialog(); } }
private void customerBillReport(object sender, EventArgs e) { using (reports datReport = new reports(4)) { datReport.FormClosed += new FormClosedEventHandler(MyForm_FormClosed); datReport.ShowDialog(); } }