internal virtual void PaintControlBackground (PaintEventArgs pevent)
{
if (background_image == null)
{
Rectangle paintRect = new Rectangle (pevent.ClipRectangle.X, pevent.ClipRectangle.Y, pevent.ClipRectangle.Width, pevent.ClipRectangle.Height);
Brush pen = new SolidBrush (BackColor);
//ThemeEngine.Current.ResPool.GetSolidBrush(BackColor);
pevent.Graphics.FillRectangle (pen, paintRect);
return;
}
DrawBackgroundImage (pevent.Graphics);
}