using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Omega { public partial class update : Form { public update() { InitializeComponent(); label2.Text = AppOptions.Instance.GetOption("appVer"); } private void label5_Click(object sender, EventArgs e) { } private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { if (webBrowser1.DocumentText != AppOptions.Instance.GetOption("appVer")) { label4.Text = webBrowser1.DocumentText; label5.Show(); button1.Show(); } else { label4.Text = webBrowser1.DocumentText; label6.Show(); } } private void button2_Click(object sender, EventArgs e) { this.Close(); } private void button1_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("http://snjj.co.uk/~sean/rsclient/update/update.exe"); } } }