public void FocusPreviousControl() { IFocusableControl prevControl = GetNextFocusableControl(false); if (prevControl != null) { prevControl.Focus(); } }
public void FocusNextControl() { IFocusableControl nextControl = GetNextFocusableControl(true); if (nextControl != null) { nextControl.Focus(); } }