Form.Select Method (Boolean, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

Selects this form, and optionally selects the next or previous control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override void Select(
	bool directed,
	bool forward
)

Parameters

directed
Type: System.Boolean

If set to true that the active control is changed

forward
Type: System.Boolean

If directed is true, then this controls the direction in which focus is moved. If this is true, then the next control is selected; otherwise, the previous control is selected.

UIPermission

For changing focus. Associated enumeration: UIPermissionWindow.AllWindows.

.NET Framework
Available since 1.1
Return to top
Show: