Exemplo n.º 1
0
        }//-------------------------

        //event is raised when the dgvList row is double clicked
        private void _frmTranscriptSearchListOnDoubleClickEnter(string id)
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;

                using (TranscriptInformation frmUpdate = new TranscriptInformation(_userInfo, _transcriptManager,
                                                                                   _transcriptManager.SelectBySysIDTranscriptDetails(_userInfo, id, false), _transcriptManager.GetTranscriptInformation(id)))
                {
                    frmUpdate.ShowDialog();
                }

                this.ShowSearchResultDialog();

                this.Cursor = Cursors.Arrow;
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Loading Transcript Information Update Module.");
            }
        }//-----------------------
Exemplo n.º 2
0
        }//-------------------------

        //############################################END CONTROL TRANSCRIPTMANAGER ctlManager EVENTS##########################################

        //##########################################CLASS TranscriptSearchList EVENTS#######################################################
        //event is raised when the link open is clicked
        private void _frmTranscriptSearchListOnCreate()
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;

                using (TranscriptInformation frmCreate = new TranscriptInformation(_userInfo, _transcriptManager,
                                                                                   _transcriptManager.SelectBySysIDTranscriptDetails(_userInfo, String.Empty, true), _transcriptManager.GetTranscriptInformation(String.Empty)))
                {
                    frmCreate.ShowDialog();
                }

                this.ShowSearchResultDialog();

                this.Cursor = Cursors.Arrow;
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Loading Transcript Information Create Module.");
            }
        }//-------------------------