Udostępnij za pośrednictwem


Selecting Multiple Controls

To select multiple controls

  1. In the Toolbox Window, select the Pointer tool.

  2. Drag the pointer to draw a selection box around the controls you want to select in your dialog box.

    When you release the mouse button, all controls inside and intersecting the selection box are selected.

    - or -

  • Hold down the SHIFT key and click the controls you'd like to include in the selection.

    - or -

  • Hold down the Ctrl key and click the controls you'd like to include in the selection.

To remove a control from a group of selected controls or to add a control to a group of selected controls

  • With a group of controls selected, hold down the SHIFT key and click the control you want to remove from or add to the existing selection.

    Note

    Holding down the CTRL key and clicking a control within a selection will make that control the dominant control in that selection. For more information, see Specifying the Dominant Control.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Concepts

Selecting Controls

Reference

Controls in Dialog Boxes