}//-------------------------- //this procedure shows the subject schedule update dialog private void ShowUpdateSubjectScheduleDialog(String id) { try { this.Cursor = Cursors.WaitCursor; using (SubjectScheduleUpdate frmUpdate = new SubjectScheduleUpdate(_userInfo, _scheduleManager.GetDetailsScheduleInformation(id), _scheduleManager)) { _frmSubjectScheduleSearch.WindowState = FormWindowState.Minimized; frmUpdate.ShowDialog(this); if (frmUpdate.HasUpdated || frmUpdate.HasDeleted) { this.ShowSearchResultDialog(); } _frmSubjectScheduleSearch.WindowState = FormWindowState.Normal; } } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Loading Update Subject Schedule Module"); } finally { this.ctlManager.SetFocusOnSearchTextBox(); this.Cursor = Cursors.Arrow; } }//-------------------------