Raises the Control.Paint event.
- e
- A System.Windows.Forms.PaintEventArgs that contains the event data.
If the UserPaint bit of the System.Windows.Forms.ControlStyles is set, you can override Control.OnPrint(PaintEventArgs) to do layered painting. See Control.SetStyle(ControlStyles, bool) for more information.