using System.Runtime.InteropServices; [DllImport("user32.dll")] static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo); const int MOUSEEVENTF_LEFTDOWN = 0x0002; const int MOUSEEVENTF_LEFTUP = 0x0004; private void button1_Click(object sender, EventArgs e) { Cursor.Position = new Point(this.Location.X + 20, this.Location.Y + 10); mouse_event(M..