コード例 #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
ファイル: TabPageContainer.cs プロジェクト: MyvarHD/OpenIDE
        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);
        }