private void BorderBouncingForm_Paint(object sender, PaintEventArgs e) { // paint gravity form _grid.PaintGrid(e.Graphics); _bounceBall.Draw(e.Graphics); _bounceBall.drawStats(e.Graphics); }
private void canvasPaint(object sender, PaintEventArgs e) { grid.PaintGrid(e.Graphics); ball.Draw(e.Graphics); ball.drawStats(e.Graphics); }
private void GravityTestForm_Paint(object sender, PaintEventArgs e) { grid.PaintGrid(e.Graphics); _fallingBlock.Draw(e.Graphics); _fallingBlock.drawStats(e.Graphics); }