在C#获取鼠标屏幕坐标的时候 Point p = new Point(MousePosition.X, MousePosition.Y); win10可能会出现误差 则按照下面方法勾选开发的exe的兼容性即可