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

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