private void remplirListePlatforme() { string[] platforme = form.jeuRemplirListePlatforme(); foreach (string valeur in platforme) { lstPlatforme.Items.Add(valeur); } lstPlatforme.Text = platforme[platforme.Count() - 1]; }
private void afficher() { string msg = ""; string[] lstPlatforme = form.jeuRemplirListePlatforme(); foreach (string valeur in lstPlatforme) { msg += valeur + "\n"; } txtPlatforme.Text = msg; }