System.Windows.Forms.ThemeWin32Classic.DrawOwnerDrawBackground C# (CSharp) 메소드

DrawOwnerDrawBackground() 공개 메소드

public DrawOwnerDrawBackground ( DrawItemEventArgs e ) : void
e DrawItemEventArgs
리턴 void
		public  override void DrawOwnerDrawBackground (DrawItemEventArgs e)
		{
			if ((e.State & DrawItemState.Selected) == DrawItemState.Selected) {
				e.Graphics.FillRectangle (SystemBrushes.Highlight, e.Bounds);
				return;
			}

			e.Graphics.FillRectangle (ResPool.GetSolidBrush(e.BackColor), e.Bounds);
		}
ThemeWin32Classic