public FenetreSupprimerCoursD(UC_ElementCoursDiplome cadre, cours c) { InitializeComponent(); _cadre = cadre; _cours = c; lTitre.Text = "Êtes vous sûr de vouloir supprimer le cours suivant : "; lNomElement.Text = _cours.nom; }
public FenetreModifCoursD(UC_ElementCoursDiplome cadre, cours c) { InitializeComponent(); _cadre = cadre; _cours = c; tBNom.Text = _cours.nom; tBHoraires.Text = _cours.volume_horraire.ToString(); initialiseCBType(); }
public void afficheCoursSelectionne(cours c) { cB_ECActive.Visible = false; uC_Affichage1.Visible = false; uC_Ajout1.Visible = false; gBCours.Visible = true; lTitre1.Text = "Cours "; lTitre2.Text = c.nom + " : "; lTitre3.Text = ""; uC_FilArianeDiplome1.filArianeCoursApparait(c); UC_ElementCoursDiplome uc = new UC_ElementCoursDiplome(this, c); uc.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); uc.Location = new System.Drawing.Point(6, 22); uc.nonModifiable(); gBCours.Controls.Add(uc); }