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