Ejemplo n.º 1
0
 void timer_Tick(object sender, EventArgs e)
 {
     Invalidate();
     game.Move();
     if (game.GameInProgress == false && game.TTL == 0 && game.CanClose == true)
     {
         FormHighScore fh = new FormHighScore();
         fh.ShowDialog();
         this.Close();
     }
 }
Ejemplo n.º 2
0
 private void btnHighScore_Click(object sender, EventArgs e)
 {
     Form f = new FormHighScore();
     f.ShowDialog();
 }