Beispiel #1
0
        }//--------------------------------

        //this procedure shows the search result
        private void ShowSearchResultDialog()
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;

                String queryString = RemoteClient.ProcStatic.TrimStartEndString(ctlManagerAux.GetSearchString);

                if (!String.IsNullOrEmpty(queryString))
                {
                    this.SelectByDateStartEndScheduleInformationDetails(queryString);

                    _frmServiceScheduleSearch.DataSource = _auxiliaryManager.GetAuxiliaryServiceScheduleDetailsInfomation();
                }
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Retrieving Data");
            }
            finally
            {
                this.ctlManagerAux.SetFocusOnSearchTextBox();

                this.Cursor = Cursors.Arrow;
            }
        } //--------------------------