System.Windows.Forms.ThemeWin32Classic.TextBoxBaseFillBackground C# (CSharp) Method

TextBoxBaseFillBackground() public method

public TextBoxBaseFillBackground ( TextBoxBase textBoxBase, Graphics g, Rectangle clippingArea ) : void
textBoxBase TextBoxBase
g System.Drawing.Graphics
clippingArea System.Drawing.Rectangle
return void
		public override void TextBoxBaseFillBackground (TextBoxBase textBoxBase, Graphics g, Rectangle clippingArea)
		{
			if (textBoxBase.backcolor_set || (textBoxBase.Enabled && !textBoxBase.read_only)) {
				g.FillRectangle(ResPool.GetSolidBrush(textBoxBase.BackColor), clippingArea);
			} else {
				g.FillRectangle(ResPool.GetSolidBrush(ColorControl), clippingArea);
			}
		}
ThemeWin32Classic