How to: Reassign Existing Controls to a Different Parent
You can assign controls that exist on your form to a new container control.
Note
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.
To reassign existing controls to a different parent
Drag three Button controls from the Toolbox onto the form.
Position them near to each other, but leave them unaligned.
In the Toolbox, click the FlowLayoutPanel control icon.
Do not drag the icon onto the form.
Move the mouse pointer close to the three Button controls.
The pointer changes to a crosshair with the FlowLayoutPanel control icon attached.
Click and hold the mouse button.
Drag the mouse pointer to draw the outline of the FlowLayoutPanel control.
Draw the outline around the three Button controls.
Release the mouse button.
The three Button controls are now inserted into the FlowLayoutPanel control.
See Also
Tasks
Walkthrough: Arranging Controls on Windows Forms Using a TableLayoutPanel
Walkthrough: Arranging Controls on Windows Forms Using Snaplines