Inheritance: System.Windows.Forms.TabControl
コード例 #1
0
        private void InitializeComponent()
        {
            tabControl                  = new CustomTabControl();
            tabControl.Dock             = System.Windows.Forms.DockStyle.Fill;
            tabControl.Appearance       = System.Windows.Forms.TabAppearance.FlatButtons;
            tabControl.ItemSize         = new System.Drawing.Size(0, 1);
            tabControl.SizeMode         = System.Windows.Forms.TabSizeMode.Fixed;
            tabControl.TabIndexChanged += TabControl_TabIndexChanged;
            this.Text = "Chat";

            this.Controls.Add(tabControl);
        }
コード例 #2
0
		private void InitializeComponent()
		{
			tabControl = new CustomTabControl ();
			tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
			tabControl.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
			tabControl.ItemSize = new System.Drawing.Size(0, 1);
			tabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
			tabControl.TabIndexChanged += TabControl_TabIndexChanged;
			this.Text = "Chat";

			this.Controls.Add (tabControl);
		}