Exemplo n.º 1
0
 /// <summary>
 /// Create a new key handler with no listeners.
 /// </summary>
 /// <param name="key">The key it listens too.</param>
 public KeyboardKeyHandler(KeyboardKey key)
 {
     Key  = key;
     code = Key.ToKeyCode();
 }