private void DrawForeground(Graphics graphics)
    {
      graphics.Clear(System.Drawing.SystemColors.Control);

      System.Drawing.Pen grayPen = new Pen(Color.FromArgb(200, 200, 200));
      graphics.DrawLine(grayPen, 0, 0, this.Width - 1, 0);
      graphics.DrawLine(System.Drawing.Pens.WhiteSmoke, 0, this.Height - 1, this.Width - 1, this.Height - 1);
      grayPen.SafeDispose();
    }
    private void DrawForeground(Graphics graphics)
    {
      //
      // Draw bevelbox
      //
      System.Drawing.Pen grayPen = new Pen(Color.FromArgb(200, 200, 200));
      graphics.DrawLine(grayPen, 0, 0, this.Width - 1, 0);
      graphics.DrawLine(System.Drawing.Pens.WhiteSmoke, 0, this.Height - 1, this.Width - 1, this.Height - 1);
      grayPen.SafeDispose();

      //
      // Draw caption
      //
      graphics.DrawString(Caption,
                          TextFont,
                          new SolidBrush(TextColor),
                          paddingLeft, paddingTop);
    }