示例#1
0
 internal void RaiseOnNavigateError(object sender, NavigateErrorEventArgs e) 
 {
     if ((this.NavigateError != null)) 
     {
         this.NavigateError(sender, e);
     }
 }
示例#2
0
 public virtual void NavigateError(object pDisp, ref object uRL, ref object frame, ref object statusCode, ref bool cancel) 
 {
     NavigateErrorEventArgs navigateerrorEvent = new NavigateErrorEventArgs(
         uRL as string,
         frame as string,
         (int)statusCode,
         cancel );
     this.parent.RaiseOnNavigateError(this.parent, navigateerrorEvent);
     uRL = navigateerrorEvent.Url;
     frame = navigateerrorEvent.TargetFrameName;
     statusCode = navigateerrorEvent.StatusCode;
     cancel = navigateerrorEvent.Cancel;
 }