Example #1
0
        private void btnFinalizar_Click(object sender, EventArgs e)
        {

            tiempo.Stop();
            int x = acierto;
            x += v;
            MessageBox.Show(""+x);
            tipo = new TipoTest(x);
            tipo.Show();
            //oculto el formuario
            //this.Hide();

        }
Example #2
0
        /*Método que se encarga de comprobar todo el formulario
        */
        public void comprobarTodo()
        {
            if (acierto == 6)
            {
                //MessageBox.Show("Enhorabuena, ya sabes la Palabra Secreta");
                tiempo.Stop();
                //Aqui llamamos al siguente formulario
                this.v += 5;
              tipo= new TipoTest(v);
                tipo.Show();
                //Oculto el formulario
                // this.Hide();

            }
            if ((tot == 0) || (oportunidad == 0))
            {
                tiempo.Stop();
                int x = acierto;
                //cambio de imagen
                MessageBox.Show("Puntuacion"+x);             
                cambiarImagen(7);   
                MessageBox.Show("Se acabo tu oportunidad");
                tipo = new TipoTest(x);
                tipo.Show();
            }
        }