예제 #1
0
 public void CancelSearch()
 {
   if (!_asyncQuery.IsExecuting)
   {
     return;
   }
   _asyncQuery.Cancel();
   //btnAddCriteria.Enabled = true;
   //btnRemoveCriteria.Enabled = true;
   //btnStartSearch.Enabled = true;
   //btnChangeDb.Enabled = true;
   //btnStopSearch.Enabled = false;
   //cmbServers.Enabled = true;
   //cmbDatabases.Enabled = true;
   DisableToolStripButtons(false);
 }
예제 #2
0
        public void CancelAsync( )
        {
            if (!IsExecutingAsync)
            {
                return;
            }

            asyncQry.Cancel();
        }
예제 #3
0
 public void CancelSearch()
 {
   if (!_asyncQuery.IsExecuting)
   {
     return;
   }
   _asyncQuery.Cancel();
   btnList.Enabled = true;
   btnStop.Enabled = false;
   SetInputControlsEnabled(true);
 }