private void mnuReportList_Click(object sender, EventArgs e) { if (!GlobalFunctions.formAlreadyOpen("frmReportList")) { frmReportList fReportList = new frmReportList(); fReportList.MdiParent = this; fReportList.Show(); } }
private void report_Click(object sender, EventArgs e) { frmReportList frm = new frmReportList(); frm.StartPosition = FormStartPosition.CenterScreen; frm.WindowState = FormWindowState.Maximized; frm.MdiParent = this; frm.Show(); }