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
 private void infoWebBrowser_NavigateError(object sender, WebBrowserNavigateErrorEventArgs e)
 {
     infoWebBrowser.Navigate("file://" + Application.StartupPath + Resource.MainWelcomePagePath);
 }