using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using CarManagerV3.Manager; namespace CarManagerV3.Forms { public partial class UpdatePromptForm : Form { public UpdatePromptForm(string currentVersion, string latestVersion) { InitializeComponent(); lblInstalledVersion.Text = lblInstalledVersion.Text.Replace("?.?.?", currentVersion); lblLatestVersion.Text = lblLatestVersion.Text.Replace("?.?.?", latestVersion); } private void btnDismissUpdate_Click(object sender, EventArgs e) { this.Close(); } private async void btnInstallUpdate_Click(object sender, EventArgs e) { Updater.DownloadNewestInstaller(); } } }