public virtual void DrawBackground() { using var backBrush = BackColor.GetCachedSolidBrushScope(); GraphicsInternal.FillRectangle(backBrush, Bounds); }
public virtual void DrawBackground() { using FormsSolidBrush backBrush = new FormsSolidBrush(BackColor); GraphicsInternal.FillRectangle(backBrush, Bounds); }