示例#1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            var Exit = false;
            while (!File.Exists(MainController.Get().Configuration.ExecutablePath))
            {
                var sets = new frmSettings();
                if (sets.ShowDialog() != DialogResult.OK)
                {
                    Exit = true;
                    break;
                }
            }

            if (Exit)
                Close();
        }
示例#2
0
        private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var settings = new frmSettings();

            settings.ShowDialog();
        }