Retrieves the next control forward or back in the tab order of child controls.
public Control GetNextControl(
The Control to start the search with.
true to search forward in the tab order; false to search backward.
The GetNextControl method is dependent on tab order. To iterate through all controls of a form, including nested controls, use the Controls property. To get or set the active control of a container control, use the ActiveControl property.