}//----------------------

        //#####################################################END CLASS SchoolFeeMaintenace EVENTS #################################################################

        //#####################################################COMBOBOX cboYearLevel EVENTS #################################################################
        //event is raised when the selected index is change
        private void cboYearLevelSelectedIndexChanged(object sender, EventArgs e)
        {
            this.SetDataGridViewSource(_schoolFeeManager.GetSchoolFeeByYearLevel(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId,
                                                                                 _schoolFeeManager.GetYearLevelId(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId, this.cboYearLevel.Text)));

            _levelInfo.FeeLevelSysId = _detailsInfo.SchoolFeeLevelInfo.FeeLevelSysId =
                _schoolFeeManager.GetFeelLevelId(_schoolFeeManager.GetYearLevelId(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId,
                                                                                  this.cboYearLevel.Text));

            _levelInfo.YearLevelInfo.YearLevelId = _detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.YearLevelId =
                _schoolFeeManager.GetYearLevelId(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId, this.cboYearLevel.Text);

            if (!_schoolFeeManager.IsExistsSchoolFeeYearLevel(_schoolFeeManager.GetYearLevelId(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId,
                                                                                               this.cboYearLevel.Text)))
            {
                this.lnkCreateYearLevel.Visible = true;
                this.dgvSchoolFees.Enabled      = this.lnkCreateSchoolFeeDetails.Visible = false;
            }
            else
            {
                this.dgvSchoolFees.Enabled             = true;
                this.lnkCreateYearLevel.Visible        = false;
                this.lnkCreateSchoolFeeDetails.Visible = this.cboYearLevel.SelectedIndex >= 0 ? true : false;
            }

            this.dgvSchoolFees.Focus();
        }//-----------------------------