Since I don't think you can get mouse events only from your program,
you will have to hook to the global mouse events.
That means that you'll be notified about EVERY mouse event in the system.
You can hook to global mouse events like this:
Global mouse event handler
When you receive WM_LBUTTONDOWN, it means that the left button was pressed.
Then you can move the mouse like this:
How to move mouse cursor using C#?
(I recommend that your handling code will be done in another thread than the one which captures to mouse events. Otherwise, you might miss events.)