void UNHOOK() { if (kbdHook.hookInstalled) { kbdHook.UninstallGlobalHook(); msHook.UninstallGlobalHook(); } }
protected override void OnExiting(object sender, EventArgs args) { base.OnExiting(sender, args); mHook.UninstallGlobalHook(); }
void UNHOOK() { if (kbdHook.hookInstalled) { kbdHook.UninstallGlobalHook(); msHook.UninstallGlobalHook(); } }
protected override void OnExiting(object sender, EventArgs args) { base.OnExiting(sender, args); mHook.UninstallGlobalHook(); }