Exemplo n.º 1
0
        private void InitUI()
        {
            this.SuspendLayout();
            m_tabControl = new CExTabControl();
            this.Controls.Add(m_tabControl);

            m_tabControl.Dock      = DockStyle.Fill;
            m_tabControl.Alignment = TabAlignment.Bottom;
            //m_tabControl.ItemSelectedColor = Color.FromArgb(255, 0, 0);
            m_tabControl.ItemUnSelectedColor = Color.Transparent;
            //m_tabControl.WhitePlaceFillColor = Color.Red;
            m_tabControl.TabContentSpacePixel = 3;
            m_tabControl.TabRightSpacePixel   = -1; //消除完全对比线
            m_tabControl.Margin = new System.Windows.Forms.Padding(0);
            this.ResumeLayout(false);
        }