Cursor cursor = new Cursor(Cursor.Current.Handle);
Cursor.Position = new Point(Cursor.Position.X + x, Cursor.Position.Y + y);
In the code above everyting works but the problem is that it moves the cursor too fast and I cant give x and y values smaller that 1 or -1 (requires int
).
What can I do?