示例#1
0
        public UpdateDlg(AnarchyVersionInfo versionInfo)
        {
            InitializeComponent();

              _updateUrl = versionInfo.updateURL;

              currentVersion.Text = versionInfo.currentVersion;

              Version thisVersion = Assembly.GetEntryAssembly().GetName().Version;
              yourVersion.Text = String.Format("Your version is {0}\n\nThe new version includes the following features:", thisVersion);

              releaseText.Text = RemoveHtml(versionInfo.releaseText);
        }
示例#2
0
        public UpdateDlg(AnarchyVersionInfo versionInfo)
        {
            InitializeComponent();

            _updateUrl = versionInfo.updateURL;

            currentVersion.Text = versionInfo.currentVersion;

            Version thisVersion = Assembly.GetEntryAssembly().GetName().Version;

            yourVersion.Text = String.Format("Your version is {0}\n\nThe new version includes the following features:", thisVersion);

            releaseText.Text = RemoveHtml(versionInfo.releaseText);
        }