Пример #1
0
        public cIAGS()
        {
            current_view     = null;
            person_list      = new cPersonList();
            course_info_list = new cCourseInfoList();
            inst_list        = new cInstructorList();
            section_list     = new cSectionList();
            assign_list      = new cAssignmentList();
            signup_list      = new cSignupList();
            grade_list       = new cGradeList();

            // view
            section_view     = new cInstSectionView();
            inst_signup_view = new cInstSignupView();
            inst_assign_view = new cInstAssignView();
            inst_grade_view  = new cInstGradeView();

            // self register for event
            prog_args   = new cProgArgs();
            UpdateProg += new ProgEventHandler(UpdateProgHandler);

            default_dir = Directory.GetCurrentDirectory();
        }
Пример #2
0
        public cIAGS()
        {
            current_view     = null;
            person_list      = new cPersonList();
            course_info_list = new cCourseInfoList();
            inst_list        = new cInstructorList();
            section_list     = new cSectionList();
            assign_list      = new cAssignmentList();
            signup_list      = new cSignupList();
            grade_list       = new cGradeList();

            // view
            section_view = new cInstSectionView();
            inst_signup_view = new cInstSignupView();
            inst_assign_view = new cInstAssignView();
            inst_grade_view = new cInstGradeView();

            // self register for event
            prog_args = new cProgArgs();
            UpdateProg += new ProgEventHandler(UpdateProgHandler);

            default_dir = Directory.GetCurrentDirectory();
        }