}//---------------------------- //##################################END LINKLABEL lnkCreate EVENTS###################################################### //##################################DATAGRIDVIEW dgvListDoubleClick EVENTS###################################################### //event is raised when the control is double clicked protected override void dgvListDoubleClick(object sender, EventArgs e) { if (!String.IsNullOrEmpty(_primaryId)) { using (SchoolFeeParticularUpdate frmUpdate = new SchoolFeeParticularUpdate(_userInfo, _schoolFeeManager.GetParticularInfoBySysId(_primaryId), _schoolFeeManager)) { frmUpdate.ShowDialog(this); if (frmUpdate.HasUpDated) { this.SetDataGridViewSource(_schoolFeeManager.GetSearchedSchoolFeeParticular(RemoteClient.ProcStatic.TrimStartEndString(this.txtSearch.Text))); } this.Show(); } } }//---------------------
}//--------------------- //event is raised when the key is pressed protected override void dgvListKeyPress(object sender, KeyPressEventArgs e) { base.dgvListKeyPress(sender, e); if (!String.IsNullOrEmpty(_primaryId)) { using (SchoolFeeParticularUpdate frmUpdate = new SchoolFeeParticularUpdate(_userInfo, _schoolFeeManager.GetParticularInfoBySysId(_primaryId), _schoolFeeManager)) { frmUpdate.ShowDialog(this); if (frmUpdate.HasUpDated) { this.SetDataGridViewSource(_schoolFeeManager.GetSearchedSchoolFeeParticular(_primaryId)); } this.Show(); } } }