获取控件的坐标

            var s = PointToScreen(txt1.Location);

  获取控件的坐标   

var s = PointToScreen(控件名.Location);

    txt1中txtbox控件名

posted on 2014-07-27 23:03  冬夜冷雨  阅读(164)  评论(0编辑  收藏  举报

导航