Exemple #1
0
        public KeyManager(UIElement element, KeyBinder keyBinder)
        {
            this.element     = element;
            element.KeyDown += element_KeyDown;
            element.KeyUp   += element_KeyUp;
            KeyBinder        = keyBinder;

            CommandList = new Dictionary <string, Action <KeyBind> >();
        }
Exemple #2
0
 public TweetKeyManager(ReturnTextBox element, KeyBinder binder)
     : base(element, binder)
 {
     element.EnterDown += element_EnterDown;
 }