public virtual void TitleChange(string text) { DWebBrowserEvents2_TitleChangeEvent titlechangeEvent = new DWebBrowserEvents2_TitleChangeEvent(text); this.parent.RaiseOnTitleChange(this.parent, titlechangeEvent); }
/// <summary> /// Event handler for web browser title changes /// </summary> /// <param name="sender">sender</param> /// <param name="e">event args</param> private void AxWebBrowser_TitleChange( object sender, DWebBrowserEvents2_TitleChangeEvent e) { // update our title m_title = e.text; // notify listeners OnTitleChanged(EventArgs.Empty); }
internal void RaiseOnTitleChange(object sender, DWebBrowserEvents2_TitleChangeEvent e) { if ((this.TitleChange != null)) { this.TitleChange(sender, e); } }