Method OnPaintBackground
OnPaintBackground(PaintEventArgs)
Paints the background of the control.
protected virtual void OnPaintBackground(PaintEventArgs e)
Parameters
ePaintEventArgsA PaintEventArgs that contains information about the control to paint.
Remarks
Derived classes can override this method to handle the event without attaching a delegate.