//###############################################CLASS MultipleAdditionalPaymentCreate EVENTS################################################## //event is raised when the class is loaded private void ClassLoad(object sender, EventArgs e) { dgvList.DataSource = _cashieringManager.StudentTableFormatIsForApply; RemoteClient.ProcStatic.SetDataGridViewColumns(dgvList, false); _additionalFeeInfo = new CommonExchange.StudentAdditionalFee(); _additionalFeeInfoTemp = (CommonExchange.StudentAdditionalFee)_additionalFeeInfo.Clone(); this.ctlPayment.SchoolYearComboBox.Enabled = false; this.ctlPayment.DisableMoveCapability(); _cashieringManager.InitializeSchoolYearCombo(this.ctlPayment.SchoolYearComboBox); _cashieringManager.InitializeCourseCheckedListBox(this.ctlPayment.CourseCheckedListBox); _cashieringManager.InitializeYearLevelCheckedListBox(this.ctlPayment.YearLevelCheckedListBox); this.ctlPayment.Select(); this.ctlPayment.SetFocusOnSearchTextBox(); }//------------------
//####################################CLASS StudentAdditionalFee EVENTS#################################### //event is raised when the class is loaded private void ClassLoad(object sender, EventArgs e) { _studentInfo = new CommonExchange.Student(); _studentInfo = _cashieringManager.GetDetailsStudentInformation(_userInfo, _index, Application.StartupPath.ToString()); this.Text = " " + RemoteClient.ProcStatic.GetCompleteNameMiddleInitial(_studentInfo.PersonInfo.LastName, _studentInfo.PersonInfo.FirstName, _studentInfo.PersonInfo.MiddleName); _studentAdditionalFeeInfo = _cashieringManager.GetDetailsStudentAdditionalFeeByStudent(_index); _studentAdditionalFeeInfoTemp = (CommonExchange.StudentAdditionalFee)_studentAdditionalFeeInfo.Clone(); this.lblParticularDescription.Text = _studentAdditionalFeeInfo.SchoolFeeParticularInfo.ParticularDescription; this.txtAdditionalPaymentAmount.Text = _studentAdditionalFeeInfo.Amount.ToString("N"); this.txtAdditionalFeeRemarks.Text = _studentAdditionalFeeInfo.Remarks; this.txtAdditionalPaymentAmount.Focus(); this.IsRecordLocked(); }//----------------