private void OnGetLatestVersionDescription(UpgradeVersionDescription upgradeVersionDescription) { if (upgradeVersionDescription == null) { return; } Registry.SetValue(Registry.Keys.LastUpdateCheckDate, DateTime.Now.ToFileTime()); if (upgradeVersionDescription.LatestVersion <= ApplicationVersion) { return; } this.UpgradeVersionDescription = upgradeVersionDescription; (this.MainWindow as MainWindow).OnNewVersionReleased(upgradeVersionDescription); }
private void OnChangeLogRetrieved(UpgradeVersionDescription description) { this.AboutSectionContent = description.ChangeLog; }
public void OnNewVersionReleased(UpgradeVersionDescription upgradeVersionDescription) { this.ShowUpgradeWindow(); this.upgradeWindow.VersionDescription = upgradeVersionDescription; }