- ctl
- The System.Windows.Forms.Control to start the search with.
- forward
- true to search forward in the tab order; false to search backward.
The next System.Windows.Forms.Control in the tab order.
The Control.GetNextControl(Control, bool) method is dependent on tab order. To iterate through all controls of a form, including nested controls, use the Control.Controls property. To get or set the active control of a container control, use the ContainerControl.ActiveControl property.