Rediģēt

Kopīgot, izmantojot


How to: Add a Control to a Tab Page Using the Designer

The use of the Windows Forms TabControl is to display other controls in an organized fashion. You can use these instructions to display a picture on the main part of a tab page. For information about adding an icon to the label part of a tab page, see How to: Change the Appearance of the Windows Forms TabControl.

The following procedure requires a Windows Application project with a form containing a TabControl control. For information about setting up such a project, see How to: Create a Windows Forms application project and How to: Add Controls to Windows Forms.

To add a control using the designer

  1. Click the appropriate tab page so that it appears on top.

  2. Draw the control on the tab page.

See also