예제 #1
0
 public void SetKeyPressUp(EventKeyPressUp keyEvent)
 {
     if (!keyEvent.KeyEvent.Alt)
     {
         pressedKeys ^= KeysEnum.Alt;
     }
     if (!keyEvent.KeyEvent.Control)
     {
         pressedKeys ^= KeysEnum.Control;
     }
     if (!keyEvent.KeyEvent.Shift)
     {
         pressedKeys ^= KeysEnum.Shift;
     }
 }
예제 #2
0
        public void KeyPressUp(KeyEventArgs args)
        {
            var keyEvent = new EventKeyPressUp(args);

            keyEvent.Post();
        }