Example #1
0
 private void addBalls_Click(object sender, EventArgs e)
 {
     balls = new List <RandomSideBall>();
     for (int i = 0; i < 10; i++)
     {
         var ball = new RandomSideBall(this);
         ball.Show();
         balls.Add(ball);
     }
     startMoving.Enabled = true;
 }