Пример #1
0
        protected override void OnKeyDown(KeyboardKeyEventArgs e)
        {
            if (e.IsRepeat)
            {
                KeyRepeatEvent.Call(e.Key);
            }
            else
            {
                KeyDownEvent.Call(e.Key);
            }

            base.OnKeyDown(e);
        }