Code [DllImport("user32.dll", EntryPoint ="mouse_event")] publicstaticexternvoid mouse_event( int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo
);
[DllImport("user32.dll", EntryPoint ="keybd_event")] publicstaticexternvoid keybd_event( byte bVk, byte bScan, int dwFlags, int dwExtraInfo
);
mouse_event( MOUSEEVENTF_RIGHTDOWN, X , Y , 0, 0);
mouse_event(MOUSEEVENTF_RIGHTUP, X , Y, 0, 0);
X +=10;
Y +=65;
mouse_event(MOUSEEVENTF_MOVE, X, Y , 0, 0);
mouse_event(MOUSEEVENTF_LEFTDOWN, X, Y , 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, X, Y , 0, 0);