private void DrawBackground(Graphics graphics, Rectangle rectangle, bool selected) { Brush background = (selected) ? SystemBrushes.Highlight : SystemBrushes.Menu; graphics.FillRectangle(background, rectangle); }