C# Class AdvancedLauncher.Tools.Extensions.HwndSourceExtensions

Mostra file Open project: GoldRenard/DMOAdvancedLauncher

Public Methods

Method Description
TransformClientToScreen ( this hwndSource, Point point ) : Point

Transform a point from "client" coordinate space of a window into the "screen" coordinate space.

TransformScreenToClient ( this hwndSource, Point point ) : Point

Transform a point from "screen" coordinate space into the "client" coordinate space of the window.

Method Details

TransformClientToScreen() public static method

Transform a point from "client" coordinate space of a window into the "screen" coordinate space.
public static TransformClientToScreen ( this hwndSource, Point point ) : Point
hwndSource this
point System.Windows.Point
return System.Windows.Point

TransformScreenToClient() public static method

Transform a point from "screen" coordinate space into the "client" coordinate space of the window.
public static TransformScreenToClient ( this hwndSource, Point point ) : Point
hwndSource this
point System.Windows.Point
return System.Windows.Point