14 writes to bounds
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (8)
33bounds = new Rectangle(controlBounds.X + DesignerUtils.s_handleOverlap - DesignerUtils.s_handleSize, controlBounds.Y + DesignerUtils.s_handleOverlap - DesignerUtils.s_handleSize, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 38bounds = new Rectangle(controlBounds.Right - DesignerUtils.s_handleOverlap, controlBounds.Y + DesignerUtils.s_handleOverlap - DesignerUtils.s_handleSize, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 43bounds = new Rectangle(controlBounds.Right - DesignerUtils.s_handleOverlap, controlBounds.Bottom - DesignerUtils.s_handleOverlap, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 48bounds = new Rectangle(controlBounds.X + DesignerUtils.s_handleOverlap - DesignerUtils.s_handleSize, controlBounds.Bottom - DesignerUtils.s_handleOverlap, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 58bounds = new Rectangle(controlBounds.X + (controlBounds.Width / 2) - (DesignerUtils.s_handleSize / 2), controlBounds.Y + DesignerUtils.s_handleOverlap - DesignerUtils.s_handleSize, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 70bounds = new Rectangle(controlBounds.X + (controlBounds.Width / 2) - (DesignerUtils.s_handleSize / 2), controlBounds.Bottom - DesignerUtils.s_handleOverlap, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 82bounds = new Rectangle(controlBounds.X + DesignerUtils.s_handleOverlap - DesignerUtils.s_handleSize, controlBounds.Y + (controlBounds.Height / 2) - (DesignerUtils.s_handleSize / 2), DesignerUtils.s_handleSize, DesignerUtils.s_handleSize); 94bounds = new Rectangle(controlBounds.Right - DesignerUtils.s_handleOverlap, controlBounds.Y + (controlBounds.Height / 2) - (DesignerUtils.s_handleSize / 2), DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
System\Windows\Forms\Design\Behavior\LockedBorderGlyph.cs (1)
33bounds = DesignerUtils.GetBoundsForSelectionType(controlBounds, type);
System\Windows\Forms\Design\Behavior\LockedHandleGlyph.cs (1)
26bounds = new Rectangle((controlBounds.X + DesignerUtils.s_lockHandleOverlap) - DesignerUtils.s_lockHandleWidth,
System\Windows\Forms\Design\Behavior\MiniLockedBorderGlyph.cs (1)
44bounds = DesignerUtils.GetBoundsForSelectionType(controlBounds, type, borderSize);
System\Windows\Forms\Design\Behavior\NoResizeHandleGlyph.cs (1)
34bounds = new Rectangle(
System\Windows\Forms\Design\Behavior\NoResizeSelectionBorderGlyph.cs (1)
36bounds = DesignerUtils.GetBoundsForNoResizeSelectionType(controlBounds, type);
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (1)
31bounds = DesignerUtils.GetBoundsForSelectionType(controlBounds, type);
15 references to bounds
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (2)
105hitBounds = bounds; 113DesignerUtils.DrawGrabHandle(pe.Graphics, bounds, _isPrimary);
System\Windows\Forms\Design\Behavior\LockedBorderGlyph.cs (2)
34hitBounds = bounds; 42DesignerUtils.DrawSelectionBorder(pe.Graphics, bounds);
System\Windows\Forms\Design\Behavior\LockedHandleGlyph.cs (2)
29hitBounds = bounds; 37DesignerUtils.DrawLockedHandle(pe.Graphics, bounds, _isPrimary);
System\Windows\Forms\Design\Behavior\MiniLockedBorderGlyph.cs (2)
45hitBounds = bounds; 53pe.Graphics.FillRectangle(new SolidBrush(SystemColors.ControlText), bounds);
System\Windows\Forms\Design\Behavior\NoResizeHandleGlyph.cs (2)
39hitBounds = bounds; 47DesignerUtils.DrawNoResizeHandle(pe.Graphics, bounds, _isPrimary);
System\Windows\Forms\Design\Behavior\NoResizeSelectionBorderGlyph.cs (2)
37hitBounds = bounds; 65DesignerUtils.DrawSelectionBorder(pe.Graphics, bounds);
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (2)
32hitBounds = bounds; 89DesignerUtils.DrawSelectionBorder(pe.Graphics, bounds);
System\Windows\Forms\Design\Behavior\SelectionGlyphBase.cs (1)
60get => bounds;