/* 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(); }
/* 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(); }
/* 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(); }