Exemple #1
0
        private void Stop()
        {
            try
            {
                MemberSearchHost.Stop();
                JobAdSearchHost.Stop();
                JobAdSortHost.Stop();
                ResourceSearchHost.Stop();

                chkSynchroniseIndex.Enabled = true;
                chkRebuildIndex.Enabled     = true;
                btnStart.Enabled            = true;
                btnStop.Enabled             = false;
            }
            catch (Exception ex)
            {
                new ExceptionDialog(ex, "Exception").ShowDialog();
            }
        }
Exemple #2
0
 public void TestInitialize()
 {
     ResourceSearchHost.Stop();
     StartHosts();
 }