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();
        }
Example #2
0
        public NurseMaster()
        {
            InitializeComponent();
            SubForm = new Q_Medic_Hospital.NurseMainPage();
            ObservationForm = new Q_Medic_Hospital.Observations();
            BedForm = new Q_Medic_Hospital.PatientRooms();
            ActivityForm = new Q_Medic_Hospital.Patient_Activities();
            StaffProfile = new Q_Medic_Hospital.Staff_details();

            SubForm.WindowState = FormWindowState.Maximized;
            ObservationForm.WindowState = FormWindowState.Maximized;
            BedForm.WindowState = FormWindowState.Maximized;
            ActivityForm.WindowState = FormWindowState.Maximized;
            StaffProfile.WindowState = FormWindowState.Maximized;

            SubForm.MdiParent = this;
            ObservationForm.MdiParent = this;
            BedForm.MdiParent = this;
            ActivityForm.MdiParent = this;
            StaffProfile.MdiParent = this;

            SubForm.Show();
        }