Επεξεργασία

Κοινή χρήση μέσω


TabControl.ControlCollection.Add(Control) Method

Definition

Adds a Control to the collection.

public:
 override void Add(System::Windows::Forms::Control ^ value);
public override void Add (System.Windows.Forms.Control value);
public override void Add (System.Windows.Forms.Control? value);
override this.Add : System.Windows.Forms.Control -> unit
Public Overrides Sub Add (value As Control)

Parameters

value
Control

The Control to add.

Exceptions

The specified Control is a TabPage.

Remarks

You cannot add a TabPage to a TabPage.

Applies to

See also