示例#1
0
 public frmBotiAprendeNivel3()
 {
     InitializeComponent();
     boti = new frmMenuBoti();
     soundGame.SoundGame(flagSound);
     nivel3.juego(PanelJuego, esconderCartas, abrirCartas, lblScores, picScores, picHelp, boti.BtnLevel3, ScoreTime, reproductor);
 }
示例#2
0
 private void btnExit_Click(object sender, EventArgs e)
 {
     frmMenuBoti menuBotiAprende = new frmMenuBoti();
     menuBotiAprende.Show();
     this.Hide();
     reproductor.close();
     ScoreTime.Stop();
 }
示例#3
0
        private void ScoreTime_Tick(object sender, EventArgs e)
        {
            i++;
            if (i > 0 && i < 9)
            {
                timerGrades.Text = "0" + i.ToString();
            }
            else
            {
                timerGrades.Text = i.ToString();
            }

            if (i == 40)
            {
                frmMenuBoti menu = new frmMenuBoti();
                menu.Show();
                this.Hide();
            }
        }