void timer_Tick(object sender, EventArgs e) { ballsDoc.MoveBalls(leftX, topY, width, height); ballsDoc.CheckColisions(); Invalidate(true); }
private void timer1_Tick(object sender, EventArgs e) { BallsDoc.MoveBalls(_left, _top, _width, _height); BallsDoc.BallsSwallow(); Invalidate(true); }