Beispiel #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
        }
Beispiel #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
        }
Beispiel #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"
        }
Beispiel #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"
        }
Beispiel #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
 }
Beispiel #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
 }