Exemplo n.º 1
0
 /// <summary>
 /// Fireing the do search event
 /// </summary>
 /// <param name="e">event parameters</param>
 protected virtual void OnHitSelected(HitEventArgs e)
 {
     if (HitSelected != null)
     {
         HitSelected(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called if the user selects an entry from the search results.
 /// </summary>
 /// <param name="sender">sender of the event</param>
 /// <param name="e">event parameters</param>
 private void helpSearch2_HitSelected(object sender, HitEventArgs e)
 {
     if (e.URL.Length > 0)
     {
         NavigateBrowser(e.URL);
     }
 }