public void RaiseOnNewWindow(string url, int flags, string targetFrameName, ref object postData, string headers, ref bool processed) { BrowserNavigateCancelEventArgs e = new BrowserNavigateCancelEventArgs(url, false); if (NewWindow != null) { NewWindow(this, e); } processed = e.Cancel; if (processed) { this.Reset(); } }
public virtual void RaiseBeforeNavigate(String url, int flags, String targetFrameName, ref Object postData, String headers, ref bool cancel) { BrowserNavigateCancelEventArgs e = new BrowserNavigateCancelEventArgs(url, false); if (BeforeNavigate != null) { BeforeNavigate(this, e); } cancel = e.Cancel; if (cancel) { this.Reset(); } }
public void RaiseOnNewWindow(string url, int flags, string targetFrameName, ref object postData, string headers, ref bool processed) { BrowserNavigateCancelEventArgs e = new BrowserNavigateCancelEventArgs(url, false); if (NewWindow != null) NewWindow(this, e); processed = e.Cancel; if (processed) this.Reset(); }
public virtual void RaiseBeforeNavigate(String url, int flags, String targetFrameName, ref Object postData, String headers, ref bool cancel) { BrowserNavigateCancelEventArgs e = new BrowserNavigateCancelEventArgs(url, false); if (BeforeNavigate != null) BeforeNavigate(this, e); cancel = e.Cancel; if (cancel) { this.Reset(); } }