Exemplo n.º 1
0
        public static bool KeyUp(Key key)
        {
            if (!CurrentHotkeys.ContainsKey(key))
            {
                return(false);
            }

            var hotkey = CurrentHotkeys[key];

            CurrentHotkeys.Remove(key);
            Task.Run(hotkey.KeyUp);

            return(hotkey.Block);
        }