}//-------------------------- //event is raised when the control is double clicked private void dgvAuxiliaryDetailsDoubleClick(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; if (!String.IsNullOrEmpty(_sysIdScheduleDetails)) { using (AuxiliaryScheduleDetailsUpdate frmUpdate = new AuxiliaryScheduleDetailsUpdate(_userInfo, _serviceInfoSchedule, _auxiliaryManager.GetDetailsAuxiliaryScheduleDetails(_sysIdScheduleDetails), _auxiliaryManager)) { frmUpdate.ShowDialog(this); if (frmUpdate.HasUpdated || frmUpdate.HasDeleted) { _hasUpdatedDetails = true; this.dgvAuxiliaryDetails.DataSource = _auxiliaryManager.GetBySysIdAuxiliaryServiceDetailsTable(_serviceInfoSchedule.AuxServiceScheduleSysId, false); this.dgvMarkDeleted.DataSource = _auxiliaryManager.GetBySysIdAuxiliaryServiceDetailsTable(_serviceInfoSchedule.AuxServiceScheduleSysId, true); } } } } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Loading Subject Schedule Details Module"); } finally { this.Cursor = Cursors.Arrow; } }//----------------------------