private async void slblUpdateAvailable_Click(object sender, EventArgs e) { if (this.checkUpdateResult != null) { var canceled = await this.SaveWorkspaceAsync(); if (!canceled) { var updatePackageForm = new FrmUpdatePackage(this.checkUpdateResult.UpdatePackage); updatePackageForm.ShowDialog(); } } }
private void lblNewVersionNotify_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var updatePackageForm = new FrmUpdatePackage(this.availablePackage); updatePackageForm.ShowDialog(); }