Exemplo n.º 1
0
        public MainForm()
        {
            // Required for Windows Form Designer support
            InitializeComponent();

            _btnClose.Select();
        }
Exemplo n.º 2
0
        /// <summary>Sets up the form based on the current configuration options.</summary>
        protected override void OnVisibleChanged(EventArgs e)
        {
            if (Visible)
            {
                chkHighlightEasyCell.Checked        = _options.SuggestEasyCells;
                chkShowIncorrectCells.Checked       = _options.ShowIncorrectCells;
                chkCreateWithSymmetry.Checked       = _options.CreatePuzzlesWithSymmetry;
                chkPromptOnDelete.Checked           = _options.PromptOnPuzzleDelete;
                chkParallelPuzzleGeneration.Checked = _options.ParallelPuzzleGeneration;
                chkSpeculativeGeneration.Checked    = _options.SpeculativePuzzleGeneration;
                ConfiguredEnabledCheckboxes();

                btnOK.Select();
            }
            base.OnVisibleChanged(e);
        }