private void btnPatientList_Click(object sender, EventArgs e) { //load up the "Register New Patient" module frmFullPatientList full = new frmFullPatientList(); full.ShowDialog(); }
private void btnPatientList_Click(object sender, EventArgs e) { try { frmFullPatientList full = new frmFullPatientList(); full.MdiParent = this; full.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }