/// <summary> /// Raises the search complete event. /// </summary> /// <param name="e">The event argument.</param> protected virtual void OnSearchComplete(SearchCompleteEventArgs e) { if (SearchComplete != null) { SearchComplete.GetInvocationList().InvokeEventGUIThreadSafe(this, e); } }
private void SearchTabSciMagSearchComplete(object sender, SearchCompleteEventArgs <SciMagArticle> e) { SciMagSearchResultsTabViewModel sciMagSearchResultsTabViewModel = new SciMagSearchResultsTabViewModel(MainModel, CurrentWindowContext, e.SearchQuery, e.SearchResult); sciMagSearchResultsTabViewModel.OpenSciMagDetailsRequested += OpenSciMagDetailsRequested; ShowSearchResults(sender as SearchTabViewModel, sciMagSearchResultsTabViewModel); }
private void SearchTabFictionSearchComplete(object sender, SearchCompleteEventArgs <FictionBook> e) { FictionSearchResultsTabViewModel fictionSearchResultsTabViewModel = new FictionSearchResultsTabViewModel(MainModel, CurrentWindowContext, e.SearchQuery, e.SearchResult); fictionSearchResultsTabViewModel.OpenFictionDetailsRequested += OpenFictionDetailsRequested; ShowSearchResults(sender as SearchTabViewModel, fictionSearchResultsTabViewModel); }
/// <summary> /// Raises the search complete event. /// </summary> /// <param name="e">The event argument.</param> protected virtual void OnSearchComplete(SearchCompleteEventArgs e) { if (Logging.Enabled) { Logging.Log(this, "Async discovery search completed"); } if (SearchComplete != null) { SearchComplete(this, e); } }
void searcher_SearchComplete(object sender, SearchCompleteEventArgs e) { double seconds = DateTime.Now.Subtract(searchStartTime).TotalSeconds; int matches = lstResults.Items.Count; btnFind.Enabled = true; EnableSearch(); if (tabControl1.SelectedIndex == 1) { toolStripStatusLabel1.Text = String.Format("Found {0} matches in {1} seconds.", matches, seconds); searchStarted = false; } }
private void Game_SearchCompleted(object sender, SearchCompleteEventArgs args) { OutputTextBox.Text = args.SearchResults.ToResultsString(); }
private void NotifyResult(SearchCompleteEventArgs e) { if (SearchComplete != null) { SearchComplete(this, e); } }
/// <summary> /// Handles the SearchComplete event. /// </summary> /// <param name="sender">The sender of the event.</param> /// <param name="e">The event arguments.</param> private void mdDiscovery_SearchComplete(object sender, SearchCompleteEventArgs e) { OnSearchComplete(new SearchCompleteEventArgs()); }
/// <summary> /// Raises the search complete event. /// </summary> /// <param name="e">The event argument.</param> protected virtual void OnSearchComplete(SearchCompleteEventArgs e) { if (SearchComplete != null) SearchComplete.GetInvocationList().InvokeEventGUIThreadSafe(this, e); }
/// <summary> /// Raises the search complete event. /// </summary> /// <param name="e">The event argument.</param> protected virtual void OnSearchComplete(SearchCompleteEventArgs e) { if (Logging.Enabled) Logging.Log(this, "Async discovery search completed"); if (SearchComplete != null) SearchComplete(this, e); }
private void OnSearchEngineSearchComplete(object sender, SearchCompleteEventArgs e) { this.IsSearching = false; this.AddStatusEvent((IMutable) new ManagedResourceString(Properties.WpfViewResources.ResourceManager, "SearchCompleteString", e.SearchItems.Length)); }
/// <summary> /// Occurs when the UPnPDiscovery component completes /// its initial search. Note that this does not mean /// the search has ended, any new UPnP devices which /// become available will still trigger events to fire. /// </summary> /// <param name="sender">The sender of the event.</param> /// <param name="a">The event arguments.</param> private void UPnP_SearchComplete(object sender, SearchCompleteEventArgs a) { // Notify user WriteLine("Completed Initial Stage..."); }
void mdDiscovery_SearchComplete(object sender, SearchCompleteEventArgs e) { enumTextVar = "Devices Enumerated"; scanningForDevices = false; }
private void searchEngine_SearchComplete(object sender, SearchCompleteEventArgs e) { // Show results in the view BrowserView.SetResults(e.Results); }
protected internal void RaiseSearchComplete(SearchCompleteEventArgs e);
/// <summary> /// Handles when the discovery object finishes its initial search. /// </summary> /// <param name="sender">The sender of the event.</param> /// <param name="e">The event arguments.</param> private void mdDiscovery_SearchComplete(object sender, SearchCompleteEventArgs e) { StatusNotify(NotifyAction.SearchComplete); OnSearchComplete(new EventArgs()); }
private void OnSearchComplete(object sender, SearchCompleteEventArgs e) { this.searchResults = e.SearchItems; this.RaiseCollectionChangedEvent(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); this.RaisePropertyChangedEvent("Count"); }
private void ODiscoveryOnSearchComplete(object sender, SearchCompleteEventArgs searchCompleteEventArgs) { Console.WriteLine("Suche Beendet!"); }
private void SearchObject_SearchComplete(object sender, SearchCompleteEventArgs e) { UpdateState(); }