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

ToolTipDrawBackground() protected method

protected ToolTipDrawBackground ( Graphics dc, Rectangle clip_rectangle, ToolTip control ) : void
dc System.Drawing.Graphics
clip_rectangle System.Drawing.Rectangle
control ToolTip
return void
		protected virtual void ToolTipDrawBackground (Graphics dc, Rectangle clip_rectangle, ToolTip.ToolTipWindow control)
		{
			Brush back_brush = ResPool.GetSolidBrush (control.BackColor);
			dc.FillRectangle (back_brush, control.ClientRectangle);
			dc.DrawRectangle (SystemPens.WindowFrame, 0, 0, control.Width - 1, control.Height - 1);
		}
ThemeWin32Classic