}//--------------------------- //#####################################################END LINKLABEL lnkCreate EVENTS ################################################################# //#####################################################DATAGRIDVIEW dgvSchoolFee EVENTS ################################################################ //event is raised when the control is double clicked private void dgvSchoolFeesDoubleClick(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; if (!String.IsNullOrEmpty(_sysIdSchoolFeeDetails)) { using (SchoolFeeDetailsUpdate frmUpdate = new SchoolFeeDetailsUpdate(_userInfo, _schoolFeeManager.GetSchoolFeeDetails(_sysIdSchoolFeeDetails), _schoolFeeManager, _detailsInfo.SchoolFeeLevelInfo.SchoolFeeInfo.SchoolYearInfo.YearId, _detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId, _detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.YearLevelId, _levelInfo.FeeLevelSysId)) { frmUpdate.ShowDialog(this); if (frmUpdate.HasUpdated || frmUpdate.HasDeleted) { this.SetDataGridViewSource(_schoolFeeManager.GetSchoolFeeByYearLevel(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId, _schoolFeeManager.GetYearLevelId(_detailsInfo.SchoolFeeLevelInfo.YearLevelInfo.CourseGroupInfo.CourseGroupId, this.cboYearLevel.Text))); _hasUpdated = true; } } } } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Loading School Fee Details Module."); } finally { this.Cursor = Cursors.Arrow; } }//--------------------