public virtual void DrawItem(Graphics g, Rectangle rect)
{
// Cannot paint a zero sized area
if ((rect.Width > 0) && (rect.Height > 0))
{
// Draw the background of the entire item
DrawBack(g, rect);
// Draw the border of the entire item
DrawBorder(g, rect);
}
}