public void AddToolTip(REMemberExpression _memberExpression) { Base _component = null; foreach (Base _base in EditableComponents) { if (_base.GetType().Name == _memberExpression.ParentTypeName) { _component = _base; } } PropertyHoldersForToolTip.Add(new REMemberExpression(new REClassObject(_component), _memberExpression.Display())); }
public void AddToolTip(Base _component, Expression <Func <object> > _memberExpression) { PropertyHoldersForToolTip.Add(new REMemberExpression(new REClassObject(_component), _memberExpression)); }