コード例 #1
0
        internal DockDropArea(DarkDockPanel dockPanel, DarkDockGroup group, DockInsertType insertType)
        {
            DockPanel  = dockPanel;
            DockGroup  = group;
            InsertType = insertType;

            BuildAreas();
        }
コード例 #2
0
        internal DockDropArea(DarkDockPanel dockPanel, DarkDockRegion region)
        {
            DockPanel  = dockPanel;
            DockRegion = region;
            InsertType = DockInsertType.None;

            BuildAreas();
        }
コード例 #3
0
ファイル: DarkDockRegion.cs プロジェクト: Leandre3Lu/FreeBot
        public DarkDockRegion(DarkDockPanel dockPanel, DarkDockArea dockArea)
        {
            _groups = new List <DarkDockGroup>();

            DockPanel = dockPanel;
            DockArea  = dockArea;

            BuildProperties();
        }
コード例 #4
0
        public DarkDockGroup(DarkDockPanel dockPanel, DarkDockRegion dockRegion, int order)
        {
            SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true);

            DockPanel  = dockPanel;
            DockRegion = dockRegion;
            DockArea   = dockRegion.DockArea;
            Order      = order;
            _tabArea   = new DarkDockTabArea(DockArea);
            DockPanel.ActiveContentChanged += DockPanel_ActiveContentChanged;
        }