private void SuggestUpdate() { var dlg = new VersionUpdatePrompt(); dlg.WhatsNew = _latest.SelectSingleNode("Notes").InnerText; dlg.LatestVersion = _latest.SelectSingleNode("Version").InnerText; dlg.CurrentVersion = _versionInfo.ProductVersion; if (dlg.ShowDialog() == DialogResult.Yes) { DoUpdate(); } }
private void SuggestUpdate() { Utils.Log.Debug("Suggesting Update to user..."); VersionUpdatePrompt dlg = new VersionUpdatePrompt(); dlg.WhatsNew = _latest.SelectSingleNode("Notes").InnerText; dlg.LatestVersion = _latest.SelectSingleNode("Version").InnerText; dlg.CurrentVersion = _versionInfo.ProductVersion; if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.Yes) { DoUpdate(); } else { Utils.Log.Debug("User declined update"); } }
private void SuggestUpdate() { var dlg = new VersionUpdatePrompt(); dlg.WhatsNew = _latest.SelectSingleNode("Notes").InnerText; dlg.LatestVersion = _latest.SelectSingleNode("Version").InnerText; dlg.CurrentVersion = _versionInfo.ProductVersion; if (dlg.ShowDialog() == DialogResult.Yes) DoUpdate(); }
private void SuggestUpdate() { Utils.Log.Debug("Suggesting Update to user..."); VersionUpdatePrompt dlg = new VersionUpdatePrompt(); dlg.WhatsNew = _latest.SelectSingleNode("Notes").InnerText; dlg.LatestVersion = _latest.SelectSingleNode("Version").InnerText; dlg.CurrentVersion = _versionInfo.ProductVersion; if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.Yes) DoUpdate(); else Utils.Log.Debug("User declined update"); }