Exemplo n.º 1
0
 // Raises the NavigateError event.
 protected virtual void OnNavigateError(
     WebBrowserNavigateErrorEventArgs e)
 {
     if (this.NavigateError != null)
     {
         this.NavigateError(this, e);
     }
 }
Exemplo n.º 2
0
 // Raises the NavigateError event.
 protected virtual void OnNavigateError(
 WebBrowserNavigateErrorEventArgs e)
 {
     if (this.NavigateError != null)
     {
     this.NavigateError(this, e);
     }
 }
Exemplo n.º 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();
 }