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> >(); }
public TweetKeyManager(ReturnTextBox element, KeyBinder binder) : base(element, binder) { element.EnterDown += element_EnterDown; }