Point FrmP=new Point(button1.Left,button1.Top);
//ScreenP返回相对屏幕的坐标 Point ScreenP=this.PointToScreen(FrmP);
Point FrmP=new Point(button1.Left,button1.Top);
//ScreenP返回相对屏幕的坐标 Point ScreenP=this.PointToScreen(FrmP);
转载于:https://www.cnblogs.com/xiaofengfeng/archive/2011/12/01/2270955.html