Exemple #1
0
        private void FrmMain_Activated(object sender, EventArgs e)
        {
            string szActive = string.Empty;

            if (radDock1.ActiveWindow != null)
            {
                szActive = radDock1.ActiveWindow.Text;

                switch (szActive)
                {
                case "User List":
                    fmUserMain.LoadUsers();
                    break;

                case "Student List":
                    fmStudentList.LoadStudents();
                    break;

                case "Teacher List":
                    fmTeacherList.LoadTeachers();
                    break;

                case "Building List":
                    fmBuildingList.LoadBuildings();
                    break;

                case "Time Slots":
                    fmTimeSlotList.LoadTimeslots();
                    break;

                case "Manage School Year":
                    //fmTimeSlotList.LoadTimeslots();
                    break;

                case "Curriculum":
                    fmManageCurriculum.LoadCurriculums();
                    break;

                default:
                    break;
                }
            }
        }
Exemple #2
0
        private void FrmMain_Activated(object sender, EventArgs e)
        {
            string szActive = string.Empty;

            if (radDock1.ActiveWindow != null)
            {
                szActive = radDock1.ActiveWindow.Text;

                switch (szActive)
                {
                case "User List":
                    fmUserMain.LoadUsers();
                    break;

                case "Student List":
                    fmStudentList.LoadStudents();
                    break;

                case "Faculty and Staff List":
                    fmTeacherList.LoadTeachers();
                    break;

                case "Building List":
                    fmBuildingList.LoadBuildings();
                    break;

                case "Time Slots":
                    fmTimeSlotList.LoadTimeslots();
                    break;

                case "Manage Curriculum":
                    fmManageCurriculum.LoadCurriculums();
                    break;

                case "List of Traits":
                    fmTraitsList.LoadTraits();
                    break;

                case "Learning Areas List":
                    fmLearningAreas.LoadLearningAreas();
                    break;

                case "Scholarship List":
                    fmScholarshipList.LoadScholarships();
                    break;

                case "List of Student Fees":
                    fmStudentFeeList.LoadStudentFees();
                    break;

                case "List of HomeRoom Information":
                    fmGradeSectionList.LoadGradeSections();
                    break;

                case "List of Subjects Load":
                    fmTeacherLoad.LoadTeacherSubjects();
                    break;

                case "List of Advisory Classes":
                    fmAdvisersLoad.LoadGradeSections();
                    break;

                case "Student List Selection":
                    fmStudentSelection.LoadStudents();
                    break;

                default:
                    break;
                }
            }
        }