Exemplo n.º 1
0
        }//---------------------------

        //############################################END CLASS SubjectSchedule EVENTS#######################################################

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