void ITopWindowEventRoot.RootKeyUp(int keydata) { if (currentKbFocusElem == null) { return; } StopCaretBlink(); UIKeyEventArgs e = GetFreeKeyEvent(); SetKeyData(e, keydata); //---------------------------------------------------- e.ExactHitObject = e.SourceHitElement = currentKbFocusElem; currentKbFocusElem.ListenKeyUp(e); iTopBoxEventPortal.PortalKeyUp(e); //---------------------------------------------------- ReleaseKeyEvent(e); StartCaretBlink(); }
void ITopWindowEventRoot.RootKeyUp(int keydata) { if (_currentKbFocusElem == null) { _lastKeydownWithShift = _lastKeydownWithAlt = _lastKeydownWithControl = false; return; } StopCaretBlink(); UIKeyEventArgs e = GetFreeKeyEvent(); SetKeyData(e, keydata); //---------------------------------------------------- e.ExactHitObject = e.SourceHitElement = _currentKbFocusElem; _currentKbFocusElem.ListenKeyUp(e); _iTopBoxEventPortal.PortalKeyUp(e); //---------------------------------------------------- ReleaseKeyEvent(e); StartCaretBlink(); _lastKeydownWithShift = _lastKeydownWithControl = _lastKeydownWithAlt = false; }