Пример #1
0
 // overload: AzukiTextBox version
 void SetFocusedTextBox(AzukiTextBox _azukiTextBox)
 {
     if (_azukiTextBox.Focused)
     {
         _focusedAzukiTextBox = _azukiTextBox;
     }
     else // !textBox.Focused
     {
         _focusedAzukiTextBox = null;
     }
     _focusedNormalTextBox = null;
 }
Пример #2
0
        void GetFocusedTextBox(out TextBox _textBox, out AzukiTextBox _azukiTextBox)
        {
            _textBox = null;
            _azukiTextBox = null;

            if (_focusedNormalTextBox != null)
            {
                _textBox = _focusedNormalTextBox;
            }
            else if (_focusedAzukiTextBox != null)
            {
                _azukiTextBox = _focusedAzukiTextBox;
            }
        }