public virtual void StatusTextChange(string text) { DWebBrowserEvents2_StatusTextChangeEvent statustextchangeEvent = new DWebBrowserEvents2_StatusTextChangeEvent(text); this.parent.RaiseOnStatusTextChange(this.parent, statustextchangeEvent); }
/// <summary> /// Event handler for web browser status text changes /// </summary> /// <param name="sender">sender</param> /// <param name="e">event args</param> private void AxWebBrowser_StatusTextChange( object sender, DWebBrowserEvents2_StatusTextChangeEvent e) { // update the status text m_statusText = e.text; // notify listeners OnStatusTextChanged(EventArgs.Empty); }
internal void RaiseOnStatusTextChange(object sender, DWebBrowserEvents2_StatusTextChangeEvent e) { if ((this.StatusTextChange != null)) { this.StatusTextChange(sender, e); } }