}//-------------------------

        //event is raised when the selected index is changed
        private void ctlManagerOnSchoolYearSelectedIndexChanged()
        {
            _dateStart = _majorExamScheduleManager.GetSchoolYearDateStart
                             (_majorExamScheduleManager.GetSchoolYearYearId(this.ctlManager.SchoolYearIndex)).ToShortDateString() + " 12:00:00 AM";
            _dateEnd = _majorExamScheduleManager.GetSchoolYearDateEnd
                           (_majorExamScheduleManager.GetSchoolYearYearId(this.ctlManager.SchoolYearIndex)).ToShortDateString() + " 11:59:59 PM";

            _majorExamScheduleManager.InitializeSemesterCombo(this.ctlManager.SemesterComboBox, this.ctlManager.SchoolYearIndex);

            this.ShowSearchResultDialog();
        }//---------------------
Example #2
0
        }//---------------------

        //####################################################END COMBOBOX cboCourseGroup EVENTS###############################################

        //####################################################COMBOBOX cboYear EVENTS###############################################
        //event is raised when the selected index is changed
        protected virtual void cboYearSelectedIndexChanged(object sender, EventArgs e)
        {
            _majorExamScheduleManager.InitializeSemesterCombo(this.cboSemester, this.cboYear.SelectedIndex);

            _majorExamScheduleInfo.YearId = _majorExamScheduleManager.GetSchoolYearYearId(this.cboYear.SelectedIndex);

            _dateStart = _majorExamScheduleManager.GetSchoolYearDateStart(_majorExamScheduleInfo.YearId);
            _dateEnd   = _majorExamScheduleManager.GetSchoolYearDateEnd(_majorExamScheduleInfo.YearId);
        }//-------------------