Exemple #1
0
 public void OnTotalResultsFound(TotalResultsFoundEventArgs e)
 {
     EventHandler<TotalResultsFoundEventArgs> handler = TotalResultsFound;
     if (handler != null) handler(this, e);
 }
Exemple #2
0
 private void TotalResultsFound(object sender, TotalResultsFoundEventArgs e)
 {
     if (lblTotalResults.Text != "")
     {
         lblTotalResults.Text += ", ";
     }
     barStatus.Maximum += e.TotalPageInRange;
     lblTotalResults.Text += string.Format("{0}:{1}/{2}", e.Site, e.TotalPageInRange, e.TotalForKeyword);
     totalCountTooltip.SetToolTip(lblTotalResults, lblTotalResults.Text);
 }