public virtual void BeforeNavigate2(object pDisp, ref object uRL, ref object flags, ref object targetFrameName, ref object postData, ref object headers, ref bool cancel) { DWebBrowserEvents2_BeforeNavigate2Event beforenavigate2Event = new DWebBrowserEvents2_BeforeNavigate2Event(pDisp, uRL, flags, targetFrameName, postData, headers, cancel); this.parent.RaiseOnBeforeNavigate2(this.parent, beforenavigate2Event); uRL = beforenavigate2Event.uRL; flags = beforenavigate2Event.flags; targetFrameName = beforenavigate2Event.targetFrameName; postData = beforenavigate2Event.postData; headers = beforenavigate2Event.headers; cancel = beforenavigate2Event.cancel; }
internal void RaiseOnBeforeNavigate2(object sender, DWebBrowserEvents2_BeforeNavigate2Event e) { if ((this.BeforeNavigate2 != null)) { this.BeforeNavigate2(sender, e); } }