Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
virtual void Select(
	bool directed,
	bool forward
) override

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