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)
402
if (
_lastResizeRegion
is not null)
404
BehaviorService.Invalidate(
_lastResizeRegion
); // might be the same, might not.
405
_lastResizeRegion
.Dispose();
872
if (
_lastResizeRegion
is not null)
874
if (!
_lastResizeRegion
.Equals(newRegion, graphics))
876
_lastResizeRegion
.Exclude(newRegion); // we don't want to invalidate this region.
877
BehaviorService.Invalidate(
_lastResizeRegion
); // might be the same, might not.
878
_lastResizeRegion
.Dispose();