/// <summary>
        ///   Protected method for invoking GoogleSearched event from within Result control
        /// </summary>
        /// <param name="e">Event arguments including search results</param>
        protected virtual void OnGoogleSearched(GoogleSearchedEventArgs e)
        {
            GoogleSearchedEventHandler del =
                (GoogleSearchedEventHandler)Events[GoogleSearchedKey];

            if (del != null)
            {
                del(this, e);
            }
        }
Exemplo n.º 2
0
 private void result_GoogleSearched(object o, Apress.GoogleControls.GoogleSearchedEventArgs gsea)
 {
     resultIndex = gsea.Result.startIndex;
 }