コード例 #1
0
 // menu New Doctor button
 private void newDoctorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.newDoctor, this);
     panelHospitalMain.SendToBack();
 }
コード例 #2
0
 // Existing Doctor Button
 private void btnExistingDoctor_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.existingDoctor, this);
     panelHospitalMain.SendToBack();
 }
コード例 #3
0
 // menu Exsiting Patient button
 private void existingPatientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.existingPatient, this);
     panelHospitalMain.SendToBack();
 }
コード例 #4
0
 private void bookAppointmentToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.bookApp, this);
     panelHospitalMain.SendToBack();
 }
コード例 #5
0
 private void buttonUser_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.user, this);
     panelHospitalMain.SendToBack();
 }
コード例 #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();
 }
コード例 #7
0
 //staff department menu
 private void departmentToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.staffDepartment, this);
     panelHospitalMain.SendToBack();
 }
コード例 #8
0
 //Staff Department button
 private void buttonStaffDepartment_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.staffDepartment, this);
     panelHospitalMain.SendToBack();
 }
コード例 #9
0
 //Assign shifts menu
 private void assignShiftToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.assignStaffShifts, this);
     panelHospitalMain.SendToBack();
 }
コード例 #10
0
 //Staff
 //New staff button
 private void btnNewStaff_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.newStaff, this);
     panelHospitalMain.SendToBack();
 }
コード例 #11
0
 // assign doctor shifts button
 private void buttonAssignDoctorShifts_Click(object sender, EventArgs e)
 {
     CommonFormOperation.ShowMaximizeSubForm(CommonFormOperation.assignDoctorShifts, this);
     panelHospitalMain.SendToBack();
 }