Introduction - If you have any usage issues, please Google them yourself
A sample program in CSharp (SharpDevelop project) showing how to use the SendInput (in User32.DLL) component of Microsoft Windows to control movements of mouse from a program. See clickmouse(), movemouse() and movemouserel() procedures in MainForm.cs