// Raises the NavigateError event.
 protected virtual void OnNavigateError(
     WebBrowserNavigateErrorEventArgs e)
 {
     if (this.NavigateError != null)
     {
         this.NavigateError(this, e);
     }
 }
 // Raises the NavigateError event.
 protected virtual void OnNavigateError(
 WebBrowserNavigateErrorEventArgs e)
 {
     if (this.NavigateError != null)
     {
     this.NavigateError(this, e);
     }
 }
示例#3
0
 public void InitialTabBrowser_NavigateError(object sender, WebBrowserNavigateErrorEventArgs e)
 {
     // Display an error message to the user.
     //MessageBox.Show("Cannot navigate to " + e.Url);
     FileLogger.Instance.LogInfo("load fail:" + e.Url + " Status:" + e.StatusCode);
     isNormalQuit = true;
     this.ShutDownWinForms();
 }