private void upgradeToVersionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            toolStripStatusLabel.Text = "Loading all available versions.";

            AppVersionList versionList;

            if (ApplicationInstaller.PromptUpgrade(out versionList))
            {
                ApplicationInstallerForm installerForm = new ApplicationInstallerForm();
                installerForm.VersionList = versionList;

                installerForm.PopulateVersions();
                installerForm.Show(this);
            }
            else
            {
                toolStripStatusLabel.Text = "No versions avaialble for download.";
            }
        }
Beispiel #2
0
        private void upgradeToVersionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            toolStripStatusLabel.Text = "Loading all available versions.";

            AppVersionList versionList;

            if (ApplicationInstaller.PromptUpgrade(out versionList))
            {
                ApplicationInstallerForm installerForm = new ApplicationInstallerForm();
                installerForm.VersionList = versionList;

                installerForm.PopulateVersions();
                installerForm.Show(this);
            }
            else
            {
                toolStripStatusLabel.Text = "No versions avaialble for download.";
            }
        }