1 write to _currentSelectionBounds
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
420
_currentSelectionBounds
= new Rectangle[selComps.Count];
11 references to _currentSelectionBounds
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (11)
137
Debug.Assert(
_currentSelectionBounds
is not null);
148
ref Rectangle currentSelectionBounds = ref
_currentSelectionBounds
[_curCompIndex];
163
_currentSelectionBounds
[_curCompIndex] = Rectangle.Union(
_currentSelectionBounds
[_curCompIndex], glyph.Bounds);
425
Region toUpdate = DetermineRegionToRefresh(primarySelection, _previousSelectionBounds,
_currentSelectionBounds
);
436
if (
_currentSelectionBounds
.Length > 0)
438
Rectangle toUpdate =
_currentSelectionBounds
[0];
439
for (int i = 1; i <
_currentSelectionBounds
.Length; i++)
441
toUpdate = Rectangle.Union(toUpdate,
_currentSelectionBounds
[i]);
456
_previousSelectionBounds =
_currentSelectionBounds
.Length > 0 ? [..
_currentSelectionBounds
] : null;