Esempio n. 1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            StaffTab.Enter += StaffTab_Enter;
            StaffList slist = new StaffList();

            this.StaffTab.Controls.Add(slist);

            PatientsTab.Enter += PatientsTab_Enter;
            PatientList plist = new PatientList();

            this.PatientsTab.Controls.Add(plist);

            ProceduresTab.Enter += ProceduresTab_Enter;
            ProceduresList prlist = new ProceduresList();

            this.ProceduresTab.Controls.Add(prlist);

            ReportsTab.Enter += ReportsTab_Enter;
            ReportMenu m = new ReportMenu();

            ReportsTab.Controls.Add(m);
        }
Esempio n. 2
0
        void ProceduresTab_Enter(object sender, EventArgs e)
        {
            ProceduresList list = (ProceduresList)ProceduresTab.Controls[0];

            list.LoadAllEnries();
        }