Beispiel #1
0
 public DockManager()
 {
     Root          = new DockRoot(this);
     _dragManager  = new DragManager(this);
     _dockControls = new Dictionary <int, IDockControl>();
     _floatWindows = new List <BaseFloatWindow>();
     backwards     = new Stack <int>();
     forwards      = new Stack <int>();
 }
Beispiel #2
0
        private void _Init(int fixCount)
        {
            Root          = new DockRoot();
            _dragManager  = new DragManager(this);
            _dockControls = new SortedDictionary <int, IDockControl>();
            _floatWindows = new List <BaseFloatWindow>();
            _backwards    = new Stack <int>();
            _forwards     = new Stack <int>();

            _layouts    = new SortedDictionary <string, LayoutSetting.LayoutSetting>();
            _fixCount   = fixCount;
            _id         = _fixCount;
            _disposedID = new Stack <int>();
        }