Exemplo n.º 1
0
 public static Point GetScreentPoint(Point client, System.Windows.FrameworkElement element)
 {
     return(element.PointFromScreen(client));
 }
Exemplo n.º 2
0
 public static Point GetClientPoint(Point screen, System.Windows.FrameworkElement element)
 {
     return(element.PointFromScreen(screen));
 }