private void btnPerso_Click(object sender, EventArgs e) { //Menu des Perso Choix_du_personage Perso = new Choix_du_personage(); Perso.ShowDialog(); ChoixPerso = Perso.ChoixDuPerso(); Affichage(); btnPerso.Visible = false; btnSave.Enabled = true; }
private void btnPerso_Click(object sender, EventArgs e) { //Menu des Perso Choix_du_personage Perso = new Choix_du_personage(ref PersoComplet); if (DialogResult.OK == Perso.ShowDialog()) { Affichage(); btnPerso.Visible = false; btnSave.Enabled = true; btnMagasinArtefacts.Visible = true; } }