Пример #1
0
 public virtual void ProgressChange(int progress, int progressMax)
 {
     DWebBrowserEvents2_ProgressChangeEvent progresschangeEvent = new DWebBrowserEvents2_ProgressChangeEvent(progress, progressMax);
     this.parent.RaiseOnProgressChange(this.parent, progresschangeEvent);
 }
 /// <summary>
 /// ProgressChange event
 /// </summary>
 /// <param name="sender">sender</param>
 /// <param name="e">event args</param>
 private void AxWebBrowser_ProgressChange(object sender, DWebBrowserEvents2_ProgressChangeEvent e)
 {
     OnProgressChange(new BrowserProgressChangeEventArgs(e.progress, e.progressMax));
 }
Пример #3
0
 internal void RaiseOnProgressChange(object sender, DWebBrowserEvents2_ProgressChangeEvent e)
 {
     if ((this.ProgressChange != null))
     {
         this.ProgressChange(sender, e);
     }
 }