Define Visual C#.Net

C# Form Control

C# Label Control

C# TextBox Control

C# Button Control

C# RadioButton Control

C# CheckBox Control

C# CheckListBox

C# ListBox Control

C# ComboBox Control

C# LinkLabel Control

C# DateTime DataType

C# DateTimePicker

C# NumericUpDown

C# RandomNumber

C# PictureBox

C# ProgressBar

C# Timer Control

C# ToolTip

C# TabControl

C# RichTextBox

C# MessageBox

C# Menu Control

C# Toolbars

C# Dialogs Box

Page Stats

Visitor: 196

Tab Control in C#.Net

The TabControl control allows you to create tabbed windows that you can see in many applications. ImageList Contains a list of images that will be displayed for each tab. Multiline Allows you to create multiple rows of tabs.

private void button1_Click(object sender, EventArgs e)
        {
            int i = 1;
            TabPage tp = new TabPage("Test"+i);
            tabControl1.TabPages.Add(tp);

            //TextBox tb = new TextBox();
            //tb.Dock = DockStyle.Fill;
            //tb.Multiline = true;

           // tp.Controls.Add(tp);
        }