public static bool IsKeyPressed(uint keys) { return(0 != (NativeImport.GetAsyncKeyState((int)keys) & 0x8000)); }
public static bool IsKeyPressed(System.Windows.Forms.Keys keys) { return(0 != (NativeImport.GetAsyncKeyState((int)keys) & 0x8000)); }