//####################################################CLASS MajorExamScheduleManager EVENTS###############################################
        //event is raised when the class is loaded
        private void ClassLoad(object sender, EventArgs e)
        {
            try
            {
                if (!(RemoteServerLib.ProcStatic.IsSystemAccessAdmin(_userInfo) ||
                      RemoteServerLib.ProcStatic.IsSystemAccessCollegeRegistrar(_userInfo)))
                {
                    throw new Exception("You are not authorized to access this module.");
                }

                _majorExamScheduleManager = new MajorExamScheduleLogic(_userInfo);

                lblRecordDate.Text = "Record Date: " + DateTime.Parse(_majorExamScheduleManager.ServerDateTime).ToString();

                _frmMajorExamScheduleSearch                     = new MajorExamScheduleSearchList();
                _frmMajorExamScheduleSearch.OnCreate           += new MajorExamScheduleSearchListLinkCreateClick(_frmMajorExamScheduleSearchOnCreate);
                _frmMajorExamScheduleSearch.OnDoubleClickEnter += new SearchListDataGridDoubleClickEnter(_frmMajorExamScheduleSearchOnDoubleClickEnter);
                _frmMajorExamScheduleSearch.Location            = new Point(14, 300);
                _frmMajorExamScheduleSearch.AdoptGridSize       = false;
                _frmMajorExamScheduleSearch.MdiParent           = this;

                _majorExamScheduleManager.InitializeSchoolYearComboManager(this.ctlManager.SchoolYearComboBox);
                _majorExamScheduleManager.InitializeCourseGroupCheckedListBox(this.ctlManager.CourseGroupCheckedListBox);
                _majorExamScheduleManager.InitializeMajorExamInformationCheckedListBox(this.ctlManager.ExamCheckedListBox);
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog("\n" + ex.Message, "Error Authenticating");

                this.Close();
            }
        }
        }//---------------------

        //event is raised when the link is clicked
        private void ctlManagerOnResetLinkClicked()
        {
            this.ctlManager.OnCourseGroupSelectedIndexChanged -=
                new RemoteClient.ControlMajorExamScheduleManagerCheckedListBoxSelectedIndexChanged(ctlManagerOnCourseGroupExamScheduleSelectedIndexChanged);
            this.ctlManager.OnExamSelectedIndexChanged -=
                new RemoteClient.ControlMajorExamScheduleManagerCheckedListBoxSelectedIndexChanged(ctlManagerOnCourseGroupExamScheduleSelectedIndexChanged);

            _majorExamScheduleManager.InitializeSchoolYearComboManager(this.ctlManager.SchoolYearComboBox);
            _majorExamScheduleManager.InitializeCourseGroupCheckedListBox(this.ctlManager.CourseGroupCheckedListBox);
            _majorExamScheduleManager.InitializeMajorExamInformationCheckedListBox(this.ctlManager.ExamCheckedListBox);

            _dateStart = _dateEnd = String.Empty;

            this.ctlManager.SemesterComboBox.Items.Clear();

            this.ctlManager.OnCourseGroupSelectedIndexChanged +=
                new RemoteClient.ControlMajorExamScheduleManagerCheckedListBoxSelectedIndexChanged(ctlManagerOnCourseGroupExamScheduleSelectedIndexChanged);
            this.ctlManager.OnExamSelectedIndexChanged +=
                new RemoteClient.ControlMajorExamScheduleManagerCheckedListBoxSelectedIndexChanged(ctlManagerOnCourseGroupExamScheduleSelectedIndexChanged);

            _frmMajorExamScheduleSearch.WindowState = FormWindowState.Minimized;
        }//-----------------------------