protected override void OnPaint(PaintEventArgs e)
{
var g = e.Graphics;
if (this.apiGaugeBounds != Rectangle.Empty)
g.FillRectangle(Brushes.LightBlue, this.apiGaugeBounds);
if (this.timeGaugeBounds != Rectangle.Empty)
g.FillRectangle(Brushes.LightPink, this.timeGaugeBounds);
base.OnPaint(e);
}