Implemented interface member:
30 references to Dispose
System.Drawing.Common.Tests (6)
System\Drawing\Graphics_GetContextTests.Core.cs (5)
39
clip.
Dispose
();
73
clip.
Dispose
();
92
clip.
Dispose
();
113
clip.
Dispose
();
131
clip.
Dispose
();
System\Drawing\RegionTests.cs (1)
37
region.
Dispose
();
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (1)
2721
oldRegion?.
Dispose
();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19468
clipRegion.
Dispose
();
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1667
clipRegion.
Dispose
();
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
726
_textRegion?.
Dispose
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1612
oldClip.
Dispose
(); // SetClip copies the passed in Region.
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1838
region?.
Dispose
();
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
88
_region?.
Dispose
();
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (3)
701
_dragImageRegion?.
Dispose
();
812
invalidRegion.
Dispose
();
1162
_dragImageRegion.
Dispose
();
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
405
_lastResizeRegion.
Dispose
();
878
_lastResizeRegion.
Dispose
();
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (3)
107
_region.
Dispose
();
363
_region.
Dispose
();
526
_region.
Dispose
();
System\Windows\Forms\Design\TabOrder.cs (4)
146
_region.
Dispose
();
478
_region.
Dispose
();
495
_region.
Dispose
();
757
_region.
Dispose
();
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (2)
508
invalidateRegion?.
Dispose
();
510
itemRegion?.
Dispose
();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
95
rgn.
Dispose
();
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
844
rgn.
Dispose
();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\GraphicsClipScope.cs (1)
26
_originalClip.
Dispose
();