Inheritance: BrowserNavigateCancelEventArgs
示例#1
0
        /// <summary>
        /// Available in IE6
        /// </summary>
        /// <param name="pDisp"></param>
        /// <param name="url"></param>
        /// <param name="frame"></param>
        /// <param name="statusCode"></param>
        /// <param name="cancel"></param>
        public void NavigateError(object pDisp, string url, string frame, int statusCode, ref bool cancel)
        {
            BrowserNavigateErrorCancelEventArgs e = new BrowserNavigateErrorCancelEventArgs(url, statusCode, false);

            control.RaiseOnNavigateError(e);
            cancel = e.Cancel;
        }
示例#2
0
 public void RaiseOnNavigateError(BrowserNavigateErrorCancelEventArgs e)
 {
     _document = null;
     if (NavigateError != null)
     {
         NavigateError(this, e);
         if (e.Cancel)
         {
             this.Reset();
         }
     }
 }
示例#3
0
 /// <summary>
 /// Available in IE6
 /// </summary>
 /// <param name="pDisp"></param>
 /// <param name="url"></param>
 /// <param name="frame"></param>
 /// <param name="statusCode"></param>
 /// <param name="cancel"></param>
 public void NavigateError(object pDisp, string url, string frame, int statusCode, ref bool cancel)
 {
     BrowserNavigateErrorCancelEventArgs e = new BrowserNavigateErrorCancelEventArgs(url, statusCode, false);
     control.RaiseOnNavigateError(e);
     cancel = e.Cancel;
 }
示例#4
0
 public void RaiseOnNavigateError(BrowserNavigateErrorCancelEventArgs e)
 {
     _document = null;
     if (NavigateError != null) {
         NavigateError(this, e);
         if (e.Cancel) this.Reset();
     }
 }