Creates a PaintEvent object.
public PaintEvent( Graphics graphics, RECT rect )
graphics
The Graphics object used to paint the item.
rect
The com.ms.win32.RECT structure that represents the rectangle in which to paint.