public void SelectElement(DrawableContainer element) { if (selectedElements.Contains(element)) { return; } selectedElements.Add(element); element.ShowGrippers(); element.Selected = true; MovingElementChanged(this, selectedElements); Invalidate(); }
public void SelectElement(IDrawableContainer container) { DrawableContainer element = container as DrawableContainer; if (!selectedElements.Contains(element)) { selectedElements.Add(element); element.ShowGrippers(); element.Selected = true; FieldAggregator.BindElement(element); if (MovingElementChanged != null) { MovingElementChanged(this, selectedElements); } element.Invalidate(); } }
public void SelectElement(DrawableContainer element) { if (selectedElements.Contains(element)) return; selectedElements.Add(element); element.ShowGrippers(); element.Selected = true; MovingElementChanged(this, selectedElements); Invalidate(); }