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(); } }
public void TestInitialize() { ResourceSearchHost.Stop(); StartHosts(); }