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