Exemplo n.º 1
0
 protected virtual void OnUserKeyPressed(KeyboardEventArgs e)
 {
     if (UserKeyPressed != null)
         UserKeyPressed(this, e);
 }
Exemplo n.º 2
0
 private void SetPressButton(string strKey)
 {
     pvtKeyboardKeyPressed = strKey;
     KeyboardEventArgs dea = new KeyboardEventArgs(pvtKeyboardKeyPressed);
     OnUserKeyPressed(dea);
 }