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

        //###########################################END COMBOBOX cboYear EVENTS#####################################################

        //###########################################COMBOBOX cboSemester EVENTS#####################################################
        //event is raised when the selected index is changed
        private void cboSemesterSelectedIndexChanged(object sender, EventArgs e)
        {
            _dateStart = _cashieringManager.GetSemesterDateStart(_cashieringManager.GetSemesterSystemId(this.cboYear.SelectedIndex,
                                                                                                        this.cboSemester.SelectedIndex)).ToLongDateString() + " 12:00:00 AM";
            _dateEnd = _cashieringManager.GetSemesterDateEnd(_cashieringManager.GetSemesterSystemId(this.cboYear.SelectedIndex,
                                                                                                    this.cboSemester.SelectedIndex)).ToLongDateString() + " 11:59:59 PM";
        }//----------------------------
Ejemplo n.º 2
0
        }//----------------------

        //###########################################END COMBOBOX cboYear EVENTS#####################################################

        //###########################################COMBOBOX cboSemester EVENTS#####################################################
        //event is raised when the selected index is changed
        private void cboSemesterSelectedIndexChanged(object sender, EventArgs e)
        {
            _dateStart = _cashieringManager.GetSemesterDateStart(_cashieringManager.GetSemesterSystemId(this.cboYear.SelectedIndex,
                                                                                                        this.cboSemester.SelectedIndex)).ToLongDateString() + " 12:00:00 AM";
            _dateEnd = _cashieringManager.GetSemesterDateEnd(_cashieringManager.GetSemesterSystemId(this.cboYear.SelectedIndex,
                                                                                                    this.cboSemester.SelectedIndex)).ToLongDateString() + " 11:59:59 PM";

            _isSemestral = true;

            _cashieringManager.InitializeCourseGroupListBox(this.cbxCourseGroup, _isSemestral);
        }//----------------------------
Ejemplo n.º 3
0
        }//-------------------------

        //###########################################END COMBOBOX cboYear EVENTS#####################################################

        //###########################################COMBOBOX cboSemester EVENTS#####################################################
        //event is raised when the selected index is changed
        private void cboSemesterSelectedIndexChanged(object sender, EventArgs e)
        {
            _dateStart = _cashieringManager.GetSemesterDateStart(_cashieringManager.GetSemesterSystemId(this.cboYear.SelectedIndex,
                                                                                                        this.cboSemester.SelectedIndex)).ToLongDateString() + " 12:00:00 AM";
            _dateEnd = _cashieringManager.GetSemesterDateEnd(_cashieringManager.GetSemesterSystemId(this.cboYear.SelectedIndex,
                                                                                                    this.cboSemester.SelectedIndex)).ToLongDateString() + " 11:59:59 PM";

            _isSemestral = true;

            _cashieringManager.InitializeCourseCheckedListBox(this.cbxCourse, _isSemestral);
            _cashieringManager.InitializeYearLevelCheckedListBox(this.cbxYearLevel, _isSemestral);

            this.SetAllListAsChecked(this.cbxCourse, lblCourseCount, false);
            this.SetAllListAsChecked(this.cbxYearLevel, this.lblYearLevelCount, false);
        }//----------------------------
Ejemplo n.º 4
0
        }//-------------------

        //event is raised when the selected index is changed
        private void ctlPaymentOnSemesterSelectedIndexChanged()
        {
            _dateStart = _cashieringManager.GetSemesterDateStart(_cashieringManager.GetSemesterSystemId(this.ctlPayment.SchoolYearComboBox.SelectedIndex,
                                                                                                        this.ctlPayment.SemesterComboBox.SelectedIndex)).ToShortDateString() + " 12:00:00 AM";
            _dateEnd = _cashieringManager.GetSemesterDateEnd(_cashieringManager.GetSemesterSystemId(this.ctlPayment.SchoolYearComboBox.SelectedIndex,
                                                                                                    this.ctlPayment.SemesterComboBox.SelectedIndex)).ToShortDateString() + " 11:59:59 PM";

            _additionalFeeInfo = new CommonExchange.StudentAdditionalFee();
            this.lblParticularDescription.Text = "-";
            this.txtAmount.Clear();
            this.txtAdditionalFeeRemarks.Clear();

            this.ShowSearchResultDialog();

            if (this.ctlPayment.IsForApply)
            {
                this.IsRecordLocked();
            }
        }//----------------------