* System.Windows.Forms/XplatUIWin32.cs: PaintEventStart: validate the