Esempio n. 1
0
 /// <summary>
 /// Called when the user responds to the "skip, later, install" question.
 /// </summary>
 /// <param name="sender">not used.</param>
 /// <param name="e">not used.</param>
 private void OnUserWindowUserResponded(object sender, EventArgs e)
 {
     if (UserWindow.Result == DialogResult.No)
     {
         // skip this version
         NetSparkleConfiguration config = GetApplicationConfig();
         config.SetVersionToSkip(UserWindow.CurrentItem.Version);
     }
     else if (UserWindow.Result == DialogResult.Yes)
     {
         // download the binaries
         InitDownloadAndInstallProcess(UserWindow.CurrentItem);
     }
 }