protected OnPaint ( PaintEventArgs args ) : void | ||
args | PaintEventArgs | |
return | void |
protected override void OnPaint(PaintEventArgs args)
{
if(_running != null) // Occupies the whole area
return;
args.Graphics.FillRectangle(SystemBrushes.ControlDark, args.ClipRectangle);
}