private void Bouton2_Click(object sender, EventArgs e) { if (actionVeriteFaitNonFaitEtats == 0) { this.SuspendLayout(); parametre p = new parametre(); p.ShowDialog(); } else if (actionVeriteFaitNonFaitEtats == 1) { this.ActionOuVerite.Text = "Vérité"; this.Phrase.Text = VeriteActionClass.VERITE(); this.Bouton1.Text = "Fait"; this.Bouton2.Text = "Non-fait"; actionVeriteFaitNonFaitEtats = 2; // Dire qu'on passe a l'etape 3 } else if (actionVeriteFaitNonFaitEtats == 2) { this.Bouton1.Text = "Suivant"; this.Bouton2.Text = "Paramètre"; actionVeriteFaitNonFaitEtats = 0; // Dire qu'on passe a l'etape 1 } mettreAJourLesScores(); }
private void parametre_Click(object sender, EventArgs e) { parametre parametre = new parametre(); parametre.ShowDialog(); this.SuspendLayout(); }