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

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