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