예제 #1
0
        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);
        }
예제 #2
0
        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);
        }