} // display rectangle of the control, used for invalidation public BasicCoordinator(PlacementDrivenLogicalControl logicalControl, LogicalControlsContainer logicalControlsContainer) { _lg = logicalControl; _logicalControlsContainer = logicalControlsContainer; _containerControl = logicalControlsContainer.mainControl; _logicalControlsContainer.Add(logicalControl); _lg.VisibleChanged += lg_VisibleChanged; }
public void Add(PlacementDrivenLogicalControl logicalControl) { if (_logicalControls == null) { _logicalControls = new List <PlacementDrivenLogicalControl>(); } _logicalControls.Add(logicalControl); }