3 writes to _lastResizeRegion
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
406_lastResizeRegion = null; 879_lastResizeRegion = null; 886_lastResizeRegion ??= newRegion.Clone(); // we will need to dispose it later.
8 references to _lastResizeRegion
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (8)
402if (_lastResizeRegion is not null) 404BehaviorService.Invalidate(_lastResizeRegion); // might be the same, might not. 405_lastResizeRegion.Dispose(); 872if (_lastResizeRegion is not null) 874if (!_lastResizeRegion.Equals(newRegion, graphics)) 876_lastResizeRegion.Exclude(newRegion); // we don't want to invalidate this region. 877BehaviorService.Invalidate(_lastResizeRegion); // might be the same, might not. 878_lastResizeRegion.Dispose();