private void btn_schedule_Click(object sender, EventArgs e) { frm_doctorSchedule scheduleForm = new frm_doctorSchedule(doctorUserName); scheduleForm.Show(); }
private void button3_Click(object sender, EventArgs e) { frm_doctorSchedule doctorSchedule = new frm_doctorSchedule(comboBox1.SelectedItem.ToString()); doctorSchedule.Show(); }