private void SearchTextBox_Found(object sender, FavoritesFoundEventArgs args) { this.searchPanel1.LoadFromFavorites(args.Favorites); this.searchPanel1.Visible = true; this.favsTree.Visible = false; }
private void FavoritesSearchBoxFound(object sender, FavoritesFoundEventArgs e) { this.foundFavorites = new SortableList <IFavorite>(e.Favorites); this.UpdateFavoritesBindingSource(); }