Example #1
0
        // Appel de la fonction qui affiche la question
        private void Suivant_Button_Click(object sender, EventArgs e)
        {
            Regle_Label.Hide();
            Suivant_Button.Hide();

            this.AfficherQuestion();
        }
Example #2
0
        // Affichage de l’image pendant 2 ou 4 secondes avec décompte
        private void Suivant_Button_Click(object sender, EventArgs e)
        {
            // Masquage de l’écran de règle
            Regle_Label.Hide();
            Suivant_Button.Hide();

            // Affichage de la première image
            Image_PictureBox.ImageLocation = "..\\..\\..\\EMACApp\\AppImages\\Test_1\\" + this.test.imagesQuestion[this.compteur];
            Image_PictureBox.Show();

            // Affichage et démarrage du chronomètre
            this.decompte       = this.test.intervalle;
            Decompte_Label.Text = this.decompte.ToString();
            Chrono_Panel.Show();
            Decompte_Label.Show();
            Decompte_Timer.Start();
            AfficherImage_Timer.Start();
        }