//------------------------------------------------------------------------- private bool EditChamp(C2iChampExport champ) { if (champ.Origine is C2iOrigineChampExportExpression || champ.Origine is C2iOrigineChampExportChampCustom) { Type tp = m_structureExport.TypeSource; if (m_tableExport is C2iTableExport) { C2iTableExport table = (C2iTableExport)m_tableExport; if (table.ChampOrigine != null) { tp = table.ChampOrigine.TypeDonnee.TypeDotNetNatif; } if (champ.Origine is C2iOrigineChampExportExpression) { return(CFormEditChampCalcule.EditeChamp(champ, tp, m_elementAVariablesPourFiltre != null ? (IFournisseurProprietesDynamiques)m_elementAVariablesPourFiltre : new CFournisseurPropDynStd(true))); } if (champ.Origine is C2iOrigineChampExportChampCustom) { return(CFormEditOrigineChampCustom.EditeChamp(champ, tp)); } } } return(false); }
//------------------------------------------------------------------------- private bool EditChamp(C2iChampExport champ) { if (champ.Origine is C2iOrigineChampExportExpression) { if (champ.Origine is C2iOrigineChampExportExpression) { return(CFormEditChampCalcule.EditeChamp(champ, typeof(DataTable), m_fournisseur)); } } return(false); }