private void changeLogOfNewVersionToolStripMenuItem_Click(object sender, EventArgs e) { AppUpdate.VersionInfo info = AppUpdate.GetLatestVersionInfo(); ProcessStartInfo processStartInfo = new ProcessStartInfo(info.ChangeLogUrl); Process.Start(processStartInfo); }
private void installNewVersionToolStripMenuItem_Click(object sender, EventArgs e) { AppUpdate.VersionInfo info = AppUpdate.GetLatestVersionInfo(); if (info?.DownloadUrl == null) { MessageBox.Show( @"A problem was encountered trying to download the new version. Please try again later.", @"New Version Download Failed", MessageBoxButtons.OK); return; } Task.Run(() => AppUpdate.DownloadLatestVersionAsync(info.DownloadUrl)); }