var s = PointToScreen(txt1.Location);
获取控件的坐标
var s = PointToScreen(控件名.Location);
txt1中txtbox控件名
获取控件的坐标,布布扣,bubuko.com
原文:http://www.cnblogs.com/Ares-blog/p/3872138.html