Esempio n. 1
0
 private void btnReiniciar_Click(object sender, EventArgs e)
 {
     controladora.ResetGame();
     score = 0;
     if (pausado)
     {
         pausado          = false;
         tmrPaint.Enabled = true;
         btnComenzar.Text = "Pausar";
         AudioPlayback.StopAllSounds();
     }
 }
Esempio n. 2
0
 private void btnRestart_Click(object sender, EventArgs e)
 {
     con.ResetGame();
     score = 0;
     if (stop)
     {
         stop             = false;
         tmrPaint.Enabled = true;
         btnStart.Text    = "Pause";
         AudioPlayback.StopAllSounds();
     }
 }