}//--------------------------- //############################################END CLASS SubjectSchedule EVENTS####################################################### //#############################################COMBOBOX cboYearSemester EVENTS####################################################### //event is raised when the selected index is changed protected void cboYearSemesterSelectedIndexChanged(object sender, EventArgs e) { if (_schedInfo.SubjectInfo.CourseGroupInfo.IsSemestral) { _schedInfo.SemesterInfo.SemesterSysId = _scheduleManager.GetYearSemesterId(_schedInfo.SubjectInfo.CourseGroupInfo.IsSemestral, ((ComboBox)sender).SelectedIndex); } else { _schedInfo.SchoolYearInfo.YearId = _scheduleManager.GetYearSemesterId(_schedInfo.SubjectInfo.CourseGroupInfo.IsSemestral, ((ComboBox)sender).SelectedIndex); } }//---------------------------