private Button GetSettingsButton() { var button = new NoFocusCueButton() { Width = DefaultClientRectangleWidth - (_buttonsContainer.Padding.Left + _buttonsContainer.Margin.Left + _container.Padding.Left + _container.Margin.Left) * 2, Height = DefaultSettingsButtonHeight, Font = new Font(_defaultFontFamily, 10, FontStyle.Regular), Text = Resources.MainForm_GetSettingsButton_SettingsButtonTitle, FlatStyle = FlatStyle.Flat, Margin = new Padding(6, 3, 6, 6), BackColor = Color.DarkGray, }; button.FlatAppearance.BorderSize = 0; button.Click += settings_button_click; return(button); }
private Button GetStartGameButton() { var button = new NoFocusCueButton() { Width = DefaultClientRectangleWidth - (_buttonsContainer.Padding.Left + _buttonsContainer.Margin.Left + _container.Padding.Left + _container.Margin.Left) * 2, Height = DefaultStartGameButtonHeight, Font = new Font(_defaultFontFamily, 12, FontStyle.Regular), Text = Resources.MainForm_GetStartGameButton_title, FlatStyle = FlatStyle.Flat, Margin = new Padding(6, 9, 6, 0), BackColor = _startGameButtonBackColor, }; button.FlatAppearance.BorderSize = 0; button.Click += start_game_button_click; return(button); }