public static bool Unregister(HotKey hotKey) { keyMap.Remove(hotKey.id); return(WinApi.UnregisterHotKey(handle, hotKey.id)); }