public static DeviceContext BeginPaint(this WindowHandle window, out PAINTSTRUCT paintStruct) => GdiMethods.BeginPaint(window, out paintStruct);
public static DeviceContext BeginPaint(this WindowHandle window) => GdiMethods.BeginPaint(window);