Esempio n. 1
0
        private void checkForAnyReleaseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            statusLabel.Text = "Checking for updates...";
            UpdateApplication update = new UpdateApplication();

            update.InstallUpdateSyncWithInfo(1);
            update = null; // Free up memory, same deal as above
        }
Esempio n. 2
0
        private void checkForStableReleaseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            statusLabel.Text = "Checking for updates...";
            UpdateApplication update = new UpdateApplication();

            update.InstallUpdateSyncWithInfo(2);
            update = null; // Free up memory, unless the user keeps clicking this, it's better
        }
Esempio n. 3
0
        private void frmMain_Shown(object sender, EventArgs e)
        {
            // At this point, statusLabel.Text == "Loading..."

            this.ActiveControl = pidIvLabel; // Set active control away from a textbox

            statusLabel.Text = "Checking for updates...";
            UpdateApplication update = new UpdateApplication();

            update.InstallUpdateSyncWithInfo(0);
            update = null;              // Free up memory, we don't need this any more

            statusLabel.Text = "Ready"; // Done loading, display "Ready"
        }
Esempio n. 4
0
        private void frmMain_Shown(object sender, EventArgs e)
        {
            // At this point, statusLabel.Text == "Loading..."

            this.ActiveControl = pidIvLabel; // Set active control away from a textbox

            statusLabel.Text = "Checking for updates...";
            UpdateApplication update = new UpdateApplication();
            update.InstallUpdateSyncWithInfo(0);
            update = null; // Free up memory, we don't need this any more

            statusLabel.Text = "Ready"; // Done loading, display "Ready"
        }
Esempio n. 5
0
 private void checkForStableReleaseToolStripMenuItem_Click(object sender, EventArgs e)
 {
     statusLabel.Text = "Checking for updates...";
     UpdateApplication update = new UpdateApplication();
     update.InstallUpdateSyncWithInfo(2);
     update = null; // Free up memory, unless the user keeps clicking this, it's better
 }
Esempio n. 6
0
 private void checkForAnyReleaseToolStripMenuItem_Click(object sender, EventArgs e)
 {
     statusLabel.Text = "Checking for updates...";
     UpdateApplication update = new UpdateApplication();
     update.InstallUpdateSyncWithInfo(1);
     update = null; // Free up memory, same deal as above
 }