Win Forms GroupBox controls are used to provide an identifiable grouping for other controls. Typically, you use group boxes to subdivide a form by function. For example, you may have an order form that specifies mailing options such as which overnight carrier to use. Grouping all options in a group box gives the user a logical visual cue; and at design time all the controls can be moved easily — move the single GroupBox control, and all its contained controls move too.
The GroupBox control is similar to the Panel control; however, only the GroupBox control displays a caption, and only the Panel control may have scroll bars.
The group box’s caption is defined by the Text property. For more information, see Setting the Text Displayed by a Control.
Grouping Controls with the GroupBox Control | Panel Control | GroupBox Class