/// <summary> /// Constructeur du formulaire d'import /// </summary> /// <param name="_schoolClass"></param> public frmImportListe(SchoolClass _schoolClass) { Log.Debug("Formulaire [Importer la liste] {SCHOOL:" + _schoolClass.SchoolName + "}"); InitializeComponent(); p_schoolClass = _schoolClass; p_listPerson = new List<IElement>(); btnValider.Enabled = false; }
/// <summary> /// Constructeur de la classe /// </summary> /// <param name="_personToEdit"></param> public frmEditIndividu(IElement _personToEdit, SchoolClass _schoolClass, ModeAppel _modeAppel) { Log.Debug("Formulaire [Editer Individu] {ELM:" + _personToEdit.FirstName + " - SCHOOL:" +_schoolClass.SchoolName + " - MODE:" + _modeAppel.ToString() + "}"); m_person = (Person)_personToEdit; m_schoolClass = _schoolClass; InitializeComponent(); lblErreur.Visible = false; p_modeAppel = _modeAppel; }
/// <summary> /// Constructeur de la classe /// </summary> /// <param name="_personToEdit"></param> public frmEditGroupe(IElement _groupToEdit, SchoolClass _schoolClass, ModeAppel _modeAppel) { Log.Debug("Formulaire [Editer le Groupe] {GRP:" + _groupToEdit.FirstName + " - SCHOOL:" + _schoolClass.SchoolName + " - MODE:" + _modeAppel.ToString() + "}"); m_group = _groupToEdit; m_schoolClass = _schoolClass; InitializeComponent(); lblErreur.Visible = false; p_modeAppel = _modeAppel; }