From 5a1da7262f6a1b1893520812a3be293a05b26265 Mon Sep 17 00:00:00 2001 From: Antoine Tritschberger <antoine.tritschberger@etu.unistra.fr> Date: Wed, 1 Apr 2020 13:28:51 +0200 Subject: [PATCH] Ajout d'une enum pour le type d'affichage --- psychorientation/psychorientation/Form1.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/psychorientation/psychorientation/Form1.cs b/psychorientation/psychorientation/Form1.cs index d04a56b..baf4f85 100644 --- a/psychorientation/psychorientation/Form1.cs +++ b/psychorientation/psychorientation/Form1.cs @@ -43,17 +43,21 @@ namespace psychorientation private void Form1_Load(object sender, EventArgs e) { InitialiserTableau(); + CreerEleve(nombreEleve); + TypeMessage tm = TypeMessage.INFORMATION; Message m = new Message(-1,"Bonjour apprenti prof, vous allez apprendre à éduquer des joueurs !! ","Début",tm); m.ShowDialog(); - CreerEleve(nombreEleve); + InterfaceInfoEleve ii = new InterfaceInfoEleve(); ii.setParam(listEleve[0],listClasse); ii.Left = 0; ii.Top = 0; ii.BorderStyle = BorderStyle.Fixed3D; this.Controls.Add(ii); + + } } } -- GitLab