internal static extern bool EndPaint(IntPtr hWnd, ref PAINTSTRUCT ps);
internal static extern IntPtr BeginPaint(IntPtr hWnd, ref PAINTSTRUCT ps);