Exemplo n.º 1
0
        public void OnProgress(nsIWebProgress progress, nsIRequest request, Int32 currentTotalProgress, Int32 maxTotalProgress)
        {
#if debug
            OnGeneric("OnProgress");
#endif
            ProgressChangedEventHandler eh = (ProgressChangedEventHandler)(owner.Events [Mono.Mozilla.WebBrowser.ProgressChangedEvent]);
            if (eh != null)
            {
                Mono.WebBrowser.ProgressChangedEventArgs e = new Mono.WebBrowser.ProgressChangedEventArgs(currentTotalProgress, maxTotalProgress);
                eh(this, e);
            }
        }
Exemplo n.º 2
0
 internal virtual void OnWebHostProgressChanged(object sender, Mono.WebBrowser.ProgressChangedEventArgs e)
 {
 }
Exemplo n.º 3
0
		public void OnProgress (nsIWebProgress progress, nsIRequest request, Int32 currentTotalProgress, Int32 maxTotalProgress)
		{
#if debug
			OnGeneric ("OnProgress");
#endif			
			ProgressChangedEventHandler eh = (ProgressChangedEventHandler) (owner.Events [Mono.Mozilla.WebBrowser.ProgressChangedEvent]);
		    if (eh != null) {
		        Mono.WebBrowser.ProgressChangedEventArgs e = new Mono.WebBrowser.ProgressChangedEventArgs (currentTotalProgress, maxTotalProgress);
		        eh (this, e);
		    }
		}