}//------------------------- //####################################################END CLASS MajorExamSchedule EVENTS############################################### //####################################################COMBOBOX cboCourseGroup EVENTS############################################### //event is raised when the selected index is changed protected virtual void cboCourseGroupSelectedIndexChanged(object sender, EventArgs e) { _majorExamScheduleInfo.CourseGroupId = _majorExamScheduleManager.GetCourseGroupId(this.cboCourseGroup.SelectedIndex); _majorExamScheduleInfo.GroupDescription = _majorExamScheduleManager.GetCourseGroupDescription(this.cboCourseGroup.SelectedIndex); _majorExamScheduleManager.InitializeMajorExamInfoCombo(this.cboExamDescription, _majorExamScheduleInfo.CourseGroupId); _majorExamScheduleInfo.ExamInformationId = _majorExamScheduleInfo.ExamDescription = String.Empty; _majorExamScheduleManager.InitializeSchoolYearCombo(this.cboYear); if (_majorExamScheduleManager.IsSemestral(this.cboCourseGroup.SelectedIndex)) { this.cboSemester.Enabled = true; _majorExamScheduleInfo.SemesterSysId = String.Empty; } else { this.cboSemester.Enabled = false; _majorExamScheduleManager.InitializeSchoolYearCombo(this.cboYear); _majorExamScheduleInfo.SemesterSysId = String.Empty; } }//---------------------