private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e) { if (webBrowser1.Document.Title.Contains("Internet Explorer cannot display the webpage")) { MessageBox.Show( "No Internet connection!", "yaiks!!", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } string upd2 = "\nYou WOF2 (v." + EngineConfig.C_WOF_VERSION + ") is not up to date - please visit " + EngineConfig.C_WOF_HOME_PAGE + " to download the newest patch."; if (e.Url.ToString().Contains("/page/enhanced?status=ok")) { string upd = ""; if (StartScreen.CheckAvailableUpdatesDo()) { upd = upd2; } MessageBox.Show( "Your request will be reviewed as soon as possible. Check your inbox in a couple of hours." + upd, "Thank you!", MessageBoxButtons.OK, MessageBoxIcon.Information); Dispose(); } if (e.Url.ToString().Contains("/page/enhanced?status=already")) { string upd = ""; if (StartScreen.CheckAvailableUpdatesDo()) { upd = upd2; } MessageBox.Show( "Your request has already been sent. Please be patient. Check your inbox in a couple of hours or so." + upd, "Thank you!", MessageBoxButtons.OK, MessageBoxIcon.Warning); Dispose(); } if (e.Url.ToString().Contains("/page/enhanced?status=error")) { MessageBox.Show( "Error while sending request. Please check the data you entered and make sure the Internet connection is established. If the problem persists please check our forum for support: http://wingsoffury2.com", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); Dispose(); } }