Пример #1
0
 private void setComputerChoiceLine()
 {
     m_ComputersChoice = new RowOfColoredCells();
     m_ComputersChoice.SetButtonsLocation(k_NumOfButtons);
     foreach (Button button in m_ComputersChoice.Button)
     {
         button.BackColor = Color.Black;
         button.Enabled   = false;
         this.Controls.Add(button);
         button.Show();
     }
 }