Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            classroom2 c2 = new classroom2();

            this.Hide();
            c2.Show();
        }
Esempio n. 2
0
        private void siguienteNivel()
        {
            c2 = new classroom2();
            this.Hide();
            if (mensaje.getState() == false)
            {
                c2.Show();
                mensaje.neutralMensaje("Listen the sound and click on the right object.");
            }
            else
            {
                Task taskA = Task.Factory.StartNew(() => imagenRespuesta());
                taskA.Wait();

                c2.Show();
                mensaje.neutralMensaje("Listen the sound and click on the right object.");
            }
        }