Пример #1
0
 private void newToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         frmNewPatient newPatientForm = new frmNewPatient();
         newPatientForm.MdiParent = this;
         newPatientForm.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Пример #2
0
 private void newToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmNewPatient register = new frmNewPatient();
     register.ShowDialog();
 }
Пример #3
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmNewPatient register = new frmNewPatient();

            register.ShowDialog();
        }