Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     hireDoctor hireForm = new hireDoctor(this);
     hireForm.ShowDialog();
     saveDoctorInfo();
     refreshListBox();
 }
Exemplo n.º 2
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            hireDoctor hireForm = new hireDoctor(this, currentDoctorId);

            hireForm.ShowDialog();
            saveDoctorInfo();
            refreshListBox();
        }