Ejemplo n.º 1
0
 private void pictureBox1_Paint(object sender, PaintEventArgs e)
 {
     e.Graphics.DrawImage(imgHeap, 0, 0);
     if (timer1.Enabled)
     {
         myFigure.Draw(e.Graphics);
     }
     buttonMus.Focus();
 }
Ejemplo n.º 2
0
 private void pictureBox2_Paint(object sender, PaintEventArgs e)
 {
     nextFigure.Draw(e.Graphics);
     buttonMus.Focus();
 }