Beispiel #1
0
 void timer_Tick(object sender, EventArgs e)
 {
     if (doc.Move())
     {
         timer.Stop();
     }
     Invalidate(true);
 }
Beispiel #2
0
 void timer_Tick(object sender, EventArgs e)
 {
     doc.Move(this.Width, this.Height);
     doc.Colision();
     Invalidate(true);
 }