摘要:
It is not possible using the .NET BCL. However if you really want it you can use native SetCursorPos inUser32.dll. [DllImport("User32.dll")]private static extern bool SetCursorPos(int x, int y);As ot... 阅读全文
posted @ 2014-05-19 19:27
马语者
阅读(1467)
评论(0)
推荐(0)
摘要:
have tested this, it worked, at least for me var x1 = Canvas.GetLeft(e1);var y1 = Canvas.GetTop(e1);Rect r1 = new Rect(x1, y1, e1.ActualWidth, e1.ActualHeight);var x2 = Canvas.GetLeft(e2);var y2 = ... 阅读全文
posted @ 2014-05-19 11:27
马语者
阅读(1486)
评论(0)
推荐(0)

浙公网安备 33010602011771号