コード例 #1
0
 public virtual void TitleChange(string text)
 {
     DWebBrowserEvents2_TitleChangeEvent titlechangeEvent = new DWebBrowserEvents2_TitleChangeEvent(text);
     this.parent.RaiseOnTitleChange(this.parent, titlechangeEvent);
 }
コード例 #2
0
        /// <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);
        }
コード例 #3
0
 internal void RaiseOnTitleChange(object sender, DWebBrowserEvents2_TitleChangeEvent e)
 {
     if ((this.TitleChange != null))
     {
         this.TitleChange(sender, e);
     }
 }