Esempio n. 1
0
        static void Main()
        {
            AutoUpgrade.Cleanup();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new ZeldaUI());
        }
Esempio n. 2
0
        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);
                }
            });
        }
Esempio n. 3
0
 private void lblUpgrade_Click(object sender, EventArgs e)
 {
     AutoUpgrade.CheckUpgrade();
     lblUpgrade.Visible = false;
     lblStatus.Visible  = true;
 }