public void NavigateTo(FindLocation findLocation) { ConsoleOutputFindLocation location = findLocation as ConsoleOutputFindLocation; if (location != null) { _textOutput.Find(location.SearchTerm, location.Index, RichTextBoxFinds.None); } }
public void NavigateTo(FindLocation findLocation) { var location = findLocation as CategoryFindLocation; if (location != null) { _categoriesListView.SelectedItems.Clear(); location.Item.Selected = true; _categoriesListView.EnsureVisible(location.Item.Index); } }
public void NavigateTo(FindLocation findLocation) { StatisticsFindLocation location = findLocation as StatisticsFindLocation; if (location != null) { _lvStatistics.SelectedItems.Clear(); location.Item.Selected = true; _lvStatistics.EnsureVisible(location.Item.Index); } }
public void NavigateTo(FindLocation findLocation) { var nie = findLocation as TestHierarchyFindLocation; if (nie != null) { _treeTestHierarchy.SelectedNode = nie.Node; if (nie.Node.Parent != null) { nie.Node.Parent.Expand(); } nie.Node.EnsureVisible(); _treeTestHierarchy.Focus(); } }
public void NavigateTo(FindLocation findLocation) { StatisticsFindLocation location = findLocation as StatisticsFindLocation; if( location != null ) { _lvStatistics.SelectedItems.Clear(); location.Item.Selected = true; _lvStatistics.EnsureVisible(location.Item.Index); } }
public void NavigateTo(FindLocation findLocation) { var location = findLocation as CategoryFindLocation; if( location != null ) { _categoriesListView.SelectedItems.Clear(); location.Item.Selected = true; _categoriesListView.EnsureVisible(location.Item.Index); } }
public void NavigateTo(FindLocation findLocation) { ConsoleOutputFindLocation location = findLocation as ConsoleOutputFindLocation; if( location != null ) { _textOutput.Find(location.SearchTerm, location.Index, RichTextBoxFinds.None); } }