Пример #1
0
        private void tempToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmUpdatePrompt frmUpdate = new frmUpdatePrompt();

            frmUpdate.UpdateAvailable();
            frmUpdate.Show();
        }
Пример #2
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            var frmUpdateCheck = new frmUpdatePrompt();

            if (frmUpdateCheck.UpdateAvailable())
            {
                if (frmUpdateCheck.ShowDialog() == DialogResult.Cancel)
                {
                    this.WindowState = FormWindowState.Minimized;
                }
            }

            PopulateCategoriesListBox();

            AdjustGUI();

            LoadUserSettings();
        }