protected virtual bool HandlePaint(ref Message m)
{
//System.Diagnostics.Debug.WriteLine("> WMPAINT");
// We only want to custom draw the control within WmPaint message and only
// once per paint event. We use these bools to insure this.
this.isInWmPaintEvent = true;
this.shouldDoCustomDrawing = true;
this.prePaintLevel = 0;
this.ShowOverlays();
this.HandlePrePaint();
base.WndProc(ref m);
this.HandlePostPaint();
this.isInWmPaintEvent = false;
//System.Diagnostics.Debug.WriteLine("< WMPAINT");
return true;
}