public FormGameBoard(GameLogicComponent i_GameLogicComponent, GameBoardDimensions i_CurrentGameBoardDimensions)
        {
            this.m_GameLogicComponent         = i_GameLogicComponent;
            this.m_CurrentGameBoardDimensions = i_CurrentGameBoardDimensions;
            this.m_IndexPictureBoxesMatrix    = new IndexPictureBox[i_CurrentGameBoardDimensions.Height, i_CurrentGameBoardDimensions.Width];
            this.m_ImageGetterFromWeb         = new PictureBox();
            this.m_CardsRevealTimer           = new System.Windows.Forms.Timer();
            this.m_CardsRevealTimer.Interval  = 100;
            this.m_CardsRevealTimer.Tick     += m_CardsRevealTimer_Tick;
            if (!this.m_GameLogicComponent.PlayerTwo.IsHuman)
            {
                this.m_MachineTurnTimer          = new System.Windows.Forms.Timer();
                this.m_MachineTurnTimer.Interval = 1000;
                this.m_MachineTurnTimer.Tick    += m_MachineTurnTimer_Tick;
            }

            InitializeComponent();
            addMemoryCardsToGameBoard();
            setSuitableFormSize();
            setTextInLables();
        }
 private void buttonBoardSize_Click(object sender, EventArgs e)
 {
     this.m_CurrentGameBoardDimensions = GameLogicComponent.GetNextGameBoardDimensions();
     this.buttonBoardSize.Text         = m_CurrentGameBoardDimensions.ToString();
 }
 public FormGameSettings()
 {
     this.m_CurrentGameBoardDimensions = new GameBoardDimensions(4, 4);
     this.FormClosing += FormGameSettings_FormClosing;
     InitializeComponent();
 }