Exemplo n.º 1
0
 private void wb_NavigateError(object sender, Win.YMK.Controls.WebBrowsers.WebBrowserNavigateErrorEventArgs e)
 {
     label1.Text += e.StatusCode + ":";
     //msg.Information(e.StatusCode + "" + this.wb.ReadyState);
     //this.wb.Refresh();
     this.wb.Navigate("https://www.google.co.jp/?gws_rd=ssl");
 }
Exemplo n.º 2
0
 // Raises the NavigateError event.
 protected virtual void OnNavigateError(
     WebBrowserNavigateErrorEventArgs e)
 {
     if (this.NavigateError != null)
     {
         this.NavigateError(this, e);
     }
 }