protected virtual void PaintBlackBands(Graphics g)
{
if (this.videoRenderer != null)
{
Trace.WriteLineIf(trace.TraceInfo, "PaintBlackBands()");
Rectangle[] alRectangles = GetBlackBands();
if (alRectangles.Length > 0)
{
g.FillRectangles(new SolidBrush(Settings.VideoBackgroundColor), alRectangles);
g.DrawRectangles(new System.Drawing.Pen(Settings.VideoBackgroundColor), alRectangles);
}
}
}