public TabPageContainer() { SetStyle(ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.SupportsTransparentBackColor, true); BackColor = Color.Transparent; m_TabPageContainerPanel = new TabPageContainerPanel(); m_TabPageContainerPanel.AutoScroll = true; m_TabPageContainerPanel.AutoScrollMinSize = new Size(10, 10); Controls.Add(m_TabPageContainerPanel); }