}//------------------- //####################################################END COMBOBOX cboYear EVENTS############################################### //####################################################COMBOBOX cboSemester EVENTS############################################### //event is raised when the selected index is changed protected virtual void cboSemesterSelectedIndexChanged(object sender, EventArgs e) { if (this.cboSemester.SelectedIndex != -1) { _majorExamScheduleInfo.SemesterSysId = _majorExamScheduleManager.GetSemesterSystemId(this.cboYear.SelectedIndex, this.cboSemester.SelectedIndex); _dateStart = _majorExamScheduleManager.GetSemesterDateStart(_majorExamScheduleInfo.SemesterSysId); _dateEnd = _majorExamScheduleManager.GetSemesterDateEnd(_majorExamScheduleInfo.SemesterSysId); } }//---------------------
}//--------------------- //event is raised when the selected index is changed private void ctlManagerOnSemesterSelectedIndexChanged() { _dateStart = _majorExamScheduleManager.GetSemesterDateStart( _majorExamScheduleManager.GetSemesterSystemId(this.ctlManager.SchoolYearIndex, this.ctlManager.SemesterIndex)).ToShortDateString() + " 12:00:00 AM"; _dateEnd = _majorExamScheduleManager.GetSemesterDateEnd( _majorExamScheduleManager.GetSemesterSystemId(this.ctlManager.SchoolYearIndex, this.ctlManager.SemesterIndex)).ToShortDateString() + " 11:59:59 PM"; this.ShowSearchResultDialog(); }//------------------------