示例#1
0
        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();
                }
            }
        }
示例#2
0
        private void lblNewVersionNotify_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var updatePackageForm = new FrmUpdatePackage(this.availablePackage);

            updatePackageForm.ShowDialog();
        }
示例#3
0
 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();
         }
     }
 }
示例#4
0
 private void lblNewVersionNotify_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     var updatePackageForm = new FrmUpdatePackage(this.availablePackage);
     updatePackageForm.ShowDialog();
 }