コード例 #1
0
        /// <summary>
        /// Asks confirmation for an update and installs the update (if available).
        /// </summary>
        public void ConfirmAndInstall()
        {
            if (LastInformation == null || !LastInformation.IsNewVersionAvailable)
            {
                return;
            }

            AttachedForm.SafeInvoke(new Action(ConfirmAndInstallCore));
        }
コード例 #2
0
 /// <summary>
 /// Displays some information about the current installation and available updates.
 /// </summary>
 public void DisplayInfo()
 {
     AttachedForm.SafeInvoke(new Action(DisplayInfoCore));
 }