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