static void Main() { AutoUpgrade.Cleanup(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new ZeldaUI()); }
private void ZeldaUI_Shown(object sender, EventArgs e) { currentTab?.scintilla.Focus(); if (settings.isDefault) { btnAbout_Click(null, EventArgs.Empty); } Task.Run(() => { if (AutoUpgrade.CheckUpgrade(true)) { UpgradeAvailable(AutoUpgrade.LatestVersion); } }); }
private void lblUpgrade_Click(object sender, EventArgs e) { AutoUpgrade.CheckUpgrade(); lblUpgrade.Visible = false; lblStatus.Visible = true; }