protected void Browser_TitleChange(object sender, TitleChangeEventArgs e) { if (TitleChange != null) { TitleChange(sender, e); } }
public void TitleChange(string Text) { try { Delegate handler = this.GetHandler(WebBrowserEvent.TitleChange); if (handler != null) { TitleChangeEventArgs e = new TitleChangeEventArgs(); e._Text = Text; this.Raise(handler, e); } } catch (Exception ex) { Trace.WriteLine("TitleChange exception: " + ex.Message + "\r\n" + ex.StackTrace); } }