private void CheckForUpdates() { toolStripStatusLabel.Text = "Checking for updates..."; AppVersionList versionList; if (ApplicationInstaller.CheckForUpdates(out versionList)) { ApplicationInstallerForm installerForm = new ApplicationInstallerForm(); installerForm.VersionList = versionList; installerForm.PopulateLatestVersion(); installerForm.Show(this); toolStripStatusLabel.Text = "New version found."; } else { toolStripStatusLabel.Text = "Current version is up to dated."; } }