void CancelSearch() { TooManyResults = false; delayedSearch.Cancel(); if (fileSearcher != null) { fileSearcher.Cancel(); fileSearcher = null; } searchCompleted = false; }
public static void StartAllComponents(ISolution solution) { // Start the history keeping component. historyComponent.Start(); // Initiate and start search real document component. searchRealDocumentComponent = SearchRealDocumentComponent.GetInstance(solution); // Start the refactoring form component, a new window will be displayed. refactoringFormComponent.Start(); }
void CancelSearch() { TooManyResults = false; delayedSearch.Cancel(); if (fileSearcher != null) { fileSearcher.Cancel(); fileSearcher = null; } searchCompleted = false; }
public static IDocumentSearcher GetInstance(ISolution solution) { if(instance == null) instance = new SearchRealDocumentComponent(solution); return instance; }