protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
// Draw borders.
var borderPen = new Pen(owner.BorderColor);
e.Graphics.DrawLine(borderPen, 0, 0, Width, 0); // Top.
e.Graphics.DrawLine(borderPen, 0, 0, 0, Height - 1); // Left.
e.Graphics.DrawLine(borderPen, Width - 1, 0, Width - 1, Height - 1); // Right.
if (hidden == false)
{
}
else
{
}
}