How to Capture / Handle Mouse Movement in c#.NET form.
Here is the code.
public Form1( )
this.MouseMove += new MouseEventHandler(Form1_MouseMove);
void Form1_MouseMove(object sender , MouseEventArgs e)
Also take a look at following links.
Mouse and Keyboard library
Handling Mouse Events in C#
Got Question, Ask in Forum