Exemple #1
0
        public static DialogResult ShowUpdateDialog()
        {
            using (VersionUpdateForm versionForm = new VersionUpdateForm())
            {
                versionForm.InstalledVersion   = Application.ProductVersion;
                versionForm.LatestVersion      = LatestVersion;
                versionForm.VersionDescription = VersionDescription;
                DialogResult result = versionForm.ShowDialog();

                return(result);
            }
        }
        public static DialogResult ShowUpdateDialog()
        {
            using (VersionUpdateForm versionForm = new VersionUpdateForm())
            {
                versionForm.InstalledVersion = Application.ProductVersion;
                versionForm.LatestVersion = LatestVersion;
                versionForm.VersionDescription = VersionDescription;
                DialogResult result = versionForm.ShowDialog();

                return result;
            }
        }