private void btnSearch_Click(object sender, EventArgs e) { this.Hide(); frmSearchPatient objfrmSearchPatient = new frmSearchPatient(); objfrmSearchPatient.Show(); }
private void searchPatientToolStripMenuItem_Click(object sender, EventArgs e) { frmSearchPatient objReportConfiguration = new frmSearchPatient(); objReportConfiguration.MdiParent = this; objReportConfiguration.WindowState = FormWindowState.Maximized; objReportConfiguration.Show(); }