System.Windows.Forms.ViewHelper.DrawRect C# (CSharp) Méthode

DrawRect() public méthode

public DrawRect ( RectangleF dirtyRect ) : void
dirtyRect System.Drawing.RectangleF
Résultat void
		public override void DrawRect (RectangleF dirtyRect)
		{
		
			bool shouldDraw = true;
			using (var graphics = Graphics.FromHwnd (this.Handle))
			{
				var events = new PaintEventArgs (graphics, Rectangle.Round (dirtyRect));
				Host.Draw (events);
				shouldDraw = !events.Handled;
			}
			if (shouldDraw)
				base.DrawRect(dirtyRect);
		}
		/*