コード例 #1
0
 private void BorderBouncingForm_Paint(object sender, PaintEventArgs e)
 {
     // paint gravity form
     _grid.PaintGrid(e.Graphics);
     _bounceBall.Draw(e.Graphics);
     _bounceBall.drawStats(e.Graphics);
 }
コード例 #2
0
 private void canvasPaint(object sender, PaintEventArgs e)
 {
     grid.PaintGrid(e.Graphics);
     ball.Draw(e.Graphics);
     ball.drawStats(e.Graphics);
 }
コード例 #3
0
 private void GravityTestForm_Paint(object sender, PaintEventArgs e)
 {
     grid.PaintGrid(e.Graphics);
     _fallingBlock.Draw(e.Graphics);
     _fallingBlock.drawStats(e.Graphics);
 }