Exemplo n.º 1
0
 public virtual void RaiseNavigateComplete(string url)
 {
     if (initialized)
     {
         BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);
         if (NavigateComplete != null)
             NavigateComplete(this, e);
     }
 }
Exemplo n.º 2
0
 public virtual void RaiseBeforeNavigate(string url, int flags, string targetFrameName, ref object postData, string headers, ref bool cancel)
 {
     if (initialized)
     {
         BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);
         if (BeforeNavigate != null)
             BeforeNavigate(this, e);
         cancel = e.Cancel;
     }
 }