摘要:
void t_GotFocus(object sender, RoutedEventArgs e){var tb = sender as TextBox;var gt = tb.TransformToVisual(null); Point p = gt.Transform(new Point(0, 0));//控件相对于起始坐标(0,0)的位置MessageBox.Show(p.X + " " + p.Y);} 阅读全文
posted @ 2012-07-10 17:22
Kingly
阅读(446)
评论(1)
推荐(0)
浙公网安备 33010602011771号