public ReceptionistMaster() { InitializeComponent(); ReceptionistMain = new Q_Medic_Hospital.Receptionist(); PatientProfile = new Q_Medic_Hospital.PaitentProfile(); StaffProfile = new Q_Medic_Hospital.Staff_details(); PatientAppointments = new Q_Medic_Hospital.Appointments(); PaitentRooms = new Q_Medic_Hospital.PatientRooms(); FinancialFees = new Q_Medic_Hospital.FinancialFees(); ReceptionistMain.WindowState = FormWindowState.Maximized; PatientProfile.WindowState = FormWindowState.Maximized; StaffProfile.WindowState = FormWindowState.Maximized; PatientAppointments.WindowState = FormWindowState.Maximized; PaitentRooms.WindowState = FormWindowState.Maximized; FinancialFees.WindowState = FormWindowState.Maximized; ReceptionistMain.MdiParent = this; PatientProfile.MdiParent = this; StaffProfile.MdiParent = this; PatientAppointments.MdiParent = this; PaitentRooms.MdiParent = this; FinancialFees.MdiParent = this; ReceptionistMain.Show(); }
public HospitalAdminMaster() { InitializeComponent(); HospitalAdminMain = new Q_Medic_Hospital.Hospital_Admin(); PatientProfile = new Q_Medic_Hospital.PaitentProfile(); StaffProfile = new Q_Medic_Hospital.Staff_details(); HospitalAdminMain.WindowState = FormWindowState.Maximized; PatientProfile.WindowState = FormWindowState.Maximized; StaffProfile.WindowState = FormWindowState.Maximized; HospitalAdminMain.MdiParent = this; PatientProfile.MdiParent = this; StaffProfile.MdiParent = this; HospitalAdminMain.Show(); }
public DoctorMaster() { InitializeComponent(); DoctorMain = new Q_Medic_Hospital.Doctor(); StaffProfile = new Q_Medic_Hospital.Staff_details(); PaitentProfile = new Q_Medic_Hospital.PaitentProfile(); DoctorMain.WindowState = FormWindowState.Maximized; StaffProfile.WindowState = FormWindowState.Maximized; PaitentProfile.WindowState = FormWindowState.Maximized; DoctorMain.MdiParent = this; StaffProfile.MdiParent = this; PaitentProfile.MdiParent = this; DoctorMain.Show(); }