private void secondChoice(ref bool io_IsPair) { PictureBox pictureBoxTemp = m_DataOfCells[m_SecondCellChoice.IndexValue]; m_GameManagement.RevealTheCell(m_SecondCellChoice); this.m_Controls[m_SecondCellChoice.Row, m_SecondCellChoice.Column].BackgroundImage = pictureBoxTemp.Image; this.m_Controls[m_SecondCellChoice.Row, m_SecondCellChoice.Column].BackgroundImageLayout = ImageLayout.Center; this.m_Controls[m_SecondCellChoice.Row, m_SecondCellChoice.Column].BackColor = m_CurrentPlayer.BackColor; m_Controls[m_SecondCellChoice.Row, m_SecondCellChoice.Column].Enabled = false; m_Controls[m_SecondCellChoice.Row, m_SecondCellChoice.Column].Update(); io_IsPair = m_GameManagement.CheckPairOfCells(m_FirstCellChoice, m_SecondCellChoice); }