private void DrawResults() { for (int i = 0; i < 10; i++) { ResultView line = new ResultView(i); for (int j = 0; j < 4; j++) { RoundButton roundButton = new RoundButton(); roundButton.Location = new Point(280 + 15 * j, 20 + 40 * i); roundButton.Height = 20; roundButton.Width = 20; roundButton.BackColor = Color.LightGray; roundButton.Enabled = false; roundButton.Show(); Controls.Add(roundButton); line.Add(roundButton); } results.Add(line); } }