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