Select Method (Boolean, Boolean)
Collapse the table of content
Expand the table of content

Form.Select Method (Boolean, Boolean)

 
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:
© 2016 Microsoft