Ejemplo n.º 1
0
        /* Exercice Remplir Tableau */
        private void RemplirTableau_Click(object sender, RoutedEventArgs e)
        {
            Animations.AddSound(1);
            switch (numChapitre)
            {
            case 1: { idExercice = 3; break; }

            case 2: { idExercice = 7; break; }

            case 3: { idExercice = 11; break; }
            }
            StartExoWindow startExoWindow = new StartExoWindow(numChapitre, 3, idExercice);

            startExoWindow.Show();
        }
Ejemplo n.º 2
0
        /* Exercice Remplir les champs */
        private void RemplirLesChamps_Click(object sender, RoutedEventArgs e)
        {
            Animations.AddSound(1);
            switch (numChapitre)
            {
            case 1: { idExercice = 2; break; }

            case 2: { idExercice = 6; break; }

            case 3: { idExercice = 10; break; }
            }

            StartExoWindow startExoWindow = new StartExoWindow(numChapitre, 2, idExercice);

            startExoWindow.Show();
        }
Ejemplo n.º 3
0
        /* exercice Qcm */
        private void Qcm_Click(object sender, RoutedEventArgs e)

        {
            Animations.AddSound(1);
            switch (numChapitre)
            {
            case 1: { idExercice = 1; break; }

            case 2: { idExercice = 5; break; }

            case 3: { idExercice = 9; break; }
            }

            StartExoWindow startExoWindow = new StartExoWindow(numChapitre, 1, idExercice);

            startExoWindow.Show();
        }