AddToManagers() public method

public AddToManagers ( SystemManagers managers ) : void
managers RenderingLibrary.SystemManagers
return void
        private RegionSelection.RectangleSelector CreateNewSelector()
        {
            var newSelector = new RectangleSelector(mManagers);
            newSelector.AddToManagers(mManagers);
            newSelector.Visible = false;
            newSelector.RegionChanged += new EventHandler(RegionChangedInternal);

            mRectangleSelectors.Add(newSelector);

            return newSelector;
        }
        private RegionSelection.RectangleSelector CreateNewSelector()
        {
            var newSelector = new RectangleSelector(mManagers);
            newSelector.AddToManagers(mManagers);
            newSelector.Visible = false;
            newSelector.RegionChanged += new EventHandler(RegionChangedInternal);
            newSelector.EndRegionChanged += EndRegionChangedInternal;
            newSelector.SnappingGridSize = snappingGridSize;
            newSelector.RoundToUnitCoordinates = mRoundRectangleSelectorToUnit;

            mRectangleSelectors.Add(newSelector);

            return newSelector;
        }