Exemplo n.º 1
0
        public void Stop()
        {
            if (!tracking)
            {
                return;
            }

            mouseHook.HookActivated -= MouseHook_HookActivated;
            mouseHook.UnHook();
            tracking = false;
        }
 private void Overlay_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     LowLevelMouseHook.UnHook();
 }