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