예제 #1
0
        }                                        // 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;
        }
예제 #2
0
        public void Add(PlacementDrivenLogicalControl logicalControl)
        {
            if (_logicalControls == null)
            {
                _logicalControls = new List <PlacementDrivenLogicalControl>();
            }

            _logicalControls.Add(logicalControl);
        }