Implemented interface member:
19 references to Dispose
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
94
labelGraphics.
Dispose
()
System.Drawing.Common (6)
System\Drawing\BufferedGraphics.cs (1)
52
_bufferedGraphicsSurface.
Dispose
();
System\Drawing\BufferedGraphicsContext.cs (1)
469
_compatGraphics?.
Dispose
();
System\Drawing\Printing\DefaultPrintController.cs (1)
126
_graphics.
Dispose
(); // Dispose of GDI+ Graphics; keep the DC
System\Drawing\Printing\PreviewPrintController.cs (1)
104
_graphics?.
Dispose
();
System\Drawing\Printing\PrintController.cs (1)
183
pageEvent.Graphics?.
Dispose
();
System\Drawing\Printing\PrintPageEventArgs.cs (1)
60
internal void Dispose() => Graphics?.
Dispose
();
System.Windows.Forms (5)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
686
graphics.
Dispose
();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3529
itemGraphics.
Dispose
();
3580
itemGraphics.
Dispose
();
System\Windows\Forms\Rendering\DrawingEventArgs.cs (1)
135
_graphics.
Dispose
();
System\Windows\Forms\Rendering\GdiCache.ScreenGraphicsScope.cs (1)
33
Graphics?.
Dispose
();
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
1203
_graphics.
Dispose
();
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
706
_graphicsTarget?.
Dispose
();
1169
_graphicsTarget?.
Dispose
();
System\Windows\Forms\Design\ComponentTray.cs (1)
1993
gr?.
Dispose
();
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1799
_graphics?.
Dispose
();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
920
g.
Dispose
();
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
298
graphicsTemplate.
Dispose
();