WinForm中如何获得和设置一个控件的绝对位置啊
WinForm中怎么获得和设置一个控件的绝对位置啊?
Left Top Location 这些都是相对于父控件的 相对位置啊
WinForm中怎么获得和设置一个控件的绝对位置啊?
------解决方案--------------------
Console.WriteLine(button1.PointToScreen(new Point(0, 0)));
Left Top Location 这些都是相对于父控件的 相对位置啊
WinForm中怎么获得和设置一个控件的绝对位置啊?
------解决方案--------------------
Console.WriteLine(button1.PointToScreen(new Point(0, 0)));