// menu New Doctor button private void newDoctorToolStripMenuItem_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.newDoctor, this); panelHospitalMain.SendToBack(); }
// Existing Doctor Button private void btnExistingDoctor_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.existingDoctor, this); panelHospitalMain.SendToBack(); }
// menu Exsiting Patient button private void existingPatientToolStripMenuItem_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.existingPatient, this); panelHospitalMain.SendToBack(); }
private void bookAppointmentToolStripMenuItem_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.bookApp, this); panelHospitalMain.SendToBack(); }
private void buttonUser_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.user, this); panelHospitalMain.SendToBack(); }
//Patient //New Patient button private void btnNewPatient_Click(object sender, EventArgs e) { //panelHospitalMain.Visible = false; CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.newPatient, this); this.panelHospitalMain.SendToBack(); }
//staff department menu private void departmentToolStripMenuItem1_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.staffDepartment, this); panelHospitalMain.SendToBack(); }
//Staff Department button private void buttonStaffDepartment_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.staffDepartment, this); panelHospitalMain.SendToBack(); }
//Assign shifts menu private void assignShiftToolStripMenuItem_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.assignStaffShifts, this); panelHospitalMain.SendToBack(); }
//Staff //New staff button private void btnNewStaff_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.newStaff, this); panelHospitalMain.SendToBack(); }
// assign doctor shifts button private void buttonAssignDoctorShifts_Click(object sender, EventArgs e) { CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.assignDoctorShifts, this); panelHospitalMain.SendToBack(); }