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