}//------------------------------------- //#####################################################END COMBOBOX cboYear EVENTS##################################################################### //#####################################################LABEL lnkCreateFee EVENTS####################################################################### //event is raised when the link is clicked private void lnkCreateFeeClick(object sender, EventArgs e) { try { if (this.ValidateControls()) { String strMsg = "Are you sure you want to create a new school fees for the year " + this.cboYear.Text + "?"; DialogResult msgResult = MessageBox.Show(strMsg, "Confirm Create", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question); if (msgResult == DialogResult.Yes) { strMsg = "The new school fees for the year " + this.cboYear.Text + " has been successfully recorded."; this.Cursor = Cursors.WaitCursor; _schoolFeeManager.InsertNewSchoolFeeInformation(_userInfo, ref _feeInfo); this.Cursor = Cursors.Arrow; MessageBox.Show(strMsg, "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); _hasUpdated = true; _hasRecorded = true; this.tabSchoolFeeList.Enabled = this.lnkSchoolFeeMaintenance.Visible = true; this.lnkCreateFee.Visible = false; this.InitializeListViewControl(); } } } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message + "\n\nError Creating new School Fee Information", "Error Creating"); } }//--------------------------------------