Пример #1
0
        public void FocusPreviousControl()
        {
            IFocusableControl prevControl = GetNextFocusableControl(false);

            if (prevControl != null)
            {
                prevControl.Focus();
            }
        }
Пример #2
0
        public void FocusNextControl()
        {
            IFocusableControl nextControl = GetNextFocusableControl(true);

            if (nextControl != null)
            {
                nextControl.Focus();
            }
        }