/// ///////////////////////////////////////////////
 public void Init(IRelationTypeElementALien_TypeElement typeRelation, IElementALien element)
 {
     m_typeRelation    = typeRelation;
     m_elementALien    = element;
     m_lblLibelle.Text = typeRelation.Libelle;
     RefreshText();
 }
        public IRelationElementALien_Element GetNewRelation(IElementALien elementALien, CObjetDonneeAIdNumerique elementLie)
        {
            CRelationDossierSuivi_Element rel = new CRelationDossierSuivi_Element(elementALien.ContexteDonnee);

            rel.ElementLie   = elementLie;
            rel.DossierSuivi = (CDossierSuivi)elementALien;
            rel.RelationParametre_TypeElement = this;
            return(rel);
        }
Exemple #3
0
        public IRelationElementALien_Element GetNewRelation(IElementALien elementALien, CObjetDonneeAIdNumerique elementLie)
        {
            CRelationEntreeAgenda_ElementAAgenda rel = new CRelationEntreeAgenda_ElementAAgenda(elementALien.ContexteDonnee);

            rel.ElementLie   = (CObjetDonneeAIdNumerique)elementLie;
            rel.RelationType = this;
            rel.EntreeAgenda = (CEntreeAgenda)elementALien;
            return(rel);
        }