private void P_Debate_Main_Load(object sender, EventArgs e)
        {
            objEntidad.reproducirSonidoJuego("fanfare.wav", true);
            SetDoubleBuffered(tableLayoutPanel1);
            SetDoubleBuffered(tableLayoutPanel7);
            SetDoubleBuffered(tableLayoutPanel19);
            SetDoubleBuffered(tableLayoutPanel21);


            this.BackgroundImage  = Properties.Resources.Focused_bible_PARTIDA_marcador;
            BackgroundImageLayout = ImageLayout.Stretch;

            listarAlumnosYGanador();
            SetFinalResults();

            //actualizar imagen del sonido
            if (objEntidad.enableButtonSound == true)
            {
                pbx_Sound.BackgroundImage = Properties.Resources.Sound_MouseLeave_ON;
            }
            else
            {
                pbx_Sound.BackgroundImage = Properties.Resources.Sound_MouseLeave_OFF;
            }
        }
        private void P_Debate_Main_Load(object sender, EventArgs e)
        {
            objEntidad.reproducirSonidoJuego("fanfare.wav", true);
            SetDoubleBuffered(tableLayoutPanel7);
            SetDoubleBuffered(tableLayoutPanel19);
            SetDoubleBuffered(tableLayoutPanel21);


            this.BackgroundImage  = Properties.Resources.Focused_bible_DUO_WINNER_Background_01;
            BackgroundImageLayout = ImageLayout.Stretch;

            lbl_ganador_debate.Text = objEntidad.winner;
            SetFinalResults();

            //actualizar imagen del sonido
            if (objEntidad.enableButtonSound == true)
            {
                pbx_Sound.BackgroundImage = Properties.Resources.Sound_MouseLeave_ON;
            }
            else
            {
                pbx_Sound.BackgroundImage = Properties.Resources.Sound_MouseLeave_OFF;
            }
        }
Exemplo n.º 3
0
        void BannerFinalScorePARTIDA()
        {
            objNegoListener.N_Listener_Detener_O_Iniciar(1, "End", "");

            Thread.Sleep(1000);
            objEntidad.reproducirSonidoJuego("finalSuccess.wav", false);
            Thread.Sleep(1000);
            objEntidad.StopGameSound();
            objEntidad.winner = E_Usuario.Nombreusuario;
            FinalScorePARTIDA = new P_PARTIDA_Ganador(objEntidad);
            this.Hide(); /************************************************************/
            FinalScorePARTIDA.ShowDialog();
            this.Show(); /************************************************************/


            objEntidad.StopGameSound();
            goToMain();
        }