public static void SetHook(Action act,BeginKeys b, EndKey e) { _beginKeys = b; _endKey = e; _action = act; _hookID = SetHook(_proc); }