Cursor.Postition and Mouse_Event being Blocked
问题 I'm working on an app to automate some input into another application. And i'm running into a problem. Below is the function code i'm using public class MouseClick { [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo); } public enum MouseButton { MOUSEEVENTF_LEFTDOWN = 0x02, MOUSEEVENTF_LEFTUP = 0x04, MOUSEEVENTF_RIGHTDOWN = 0x08, MOUSEEVENTF_RIGHTUP =