Пример #1
0
        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);
        }
Пример #2
0
        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);
        }