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