//----------------------------------------------------------------- public CIconeGantt GetIcone(IElementDeGantt element) { if (element.EstTermine) { string strTooltip = ""; if (Tooltip != null) { CContexteEvaluationExpression ctx = new CContexteEvaluationExpression(element); CResultAErreur result = Tooltip.Eval(ctx); if (result) { strTooltip = result.Data.ToString(); } } return(new CIconeGantt(Image, strTooltip)); } return(null); }