void timer_Tick(object sender, EventArgs e)
 {
     ballsDoc.MoveBalls(leftX, topY, width, height);
     ballsDoc.CheckColisions();
     Invalidate(true);
 }
Пример #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     BallsDoc.MoveBalls(_left, _top, _width, _height);
     BallsDoc.BallsSwallow();
     Invalidate(true);
 }