public static extern bool EndPaint(HandleRef hWnd, ref Structures.PAINTSTRUCT lpPaint);
public static extern IntPtr BeginPaint(HandleRef hWnd, ref Structures.PAINTSTRUCT lpPaint);