Example #1
0
        }//---------------------------

        //event is raised when school year selected index change
        private void ctlManagerOnSchoolYearSelectedIndexChanged()
        {
            if (this.ctlManagerAux.SchoolYearIndex != -1)
            {
                _auxiliaryManager.InitializeSemesterCombo(this.ctlManagerAux.SemesterComboBox, this.ctlManagerAux.SchoolYearIndex);

                _dateStart = _auxiliaryManager.GetSchoolYearDateStart(_auxiliaryManager.GetSchoolYearYearId(ctlManagerAux.SchoolYearIndex)).ToShortDateString() +
                             " 12:00:00 AM";
                _dateEnd = _auxiliaryManager.GetSchoolYearDateEnd(_auxiliaryManager.GetSchoolYearYearId(ctlManagerAux.SchoolYearIndex)).ToShortDateString() +
                           " 11:59:59 PM";

                this.ShowSearchResultDialog();
            }
        }//------------------------