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; }
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; }