Implemented interface member:
method
ReleaseHdc
System.Drawing.IDeviceContext.ReleaseHdc()
81 references to ReleaseHdc
System.Drawing.Common.Tests (63)
mono\System.Drawing\GraphicsTests.cs (5)
2166g.ReleaseHdc(); 2168g.ReleaseHdc(); 2177Assert.Throws<ArgumentException>(g.ReleaseHdc); 2186g.ReleaseHdc(); 2187Assert.Throws<ArgumentException>(g.ReleaseHdc);
System\Drawing\BufferedGraphicsContextTests.cs (4)
71graphics.ReleaseHdc(); 93graphics.ReleaseHdc(); 115graphics.ReleaseHdc(); 171graphics.ReleaseHdc();
System\Drawing\BufferedGraphicsTests.cs (1)
77graphics.ReleaseHdc();
System\Drawing\FontTests.cs (4)
476graphics.ReleaseHdc(); 609graphics.ReleaseHdc(); 627graphics.ReleaseHdc(); 651graphics.ReleaseHdc();
System\Drawing\Graphics_DrawBezierTests.cs (2)
98graphics.ReleaseHdc(); 171graphics.ReleaseHdc();
System\Drawing\Graphics_DrawLineTests.cs (2)
79graphics.ReleaseHdc(); 154graphics.ReleaseHdc();
System\Drawing\GraphicsTests.Core.cs (3)
35graphics.ReleaseHdc(); 107graphics.ReleaseHdc(); 183graphics.ReleaseHdc();
System\Drawing\GraphicsTests.cs (42)
33graphics.ReleaseHdc(); 49graphics1.ReleaseHdc(); 50graphics2.ReleaseHdc(); 66graphics.ReleaseHdc(); 138graphics.ReleaseHdc(); 144AssertExtensions.Throws<ArgumentException>(null, graphics.ReleaseHdc); 149AssertExtensions.Throws<ArgumentException>(null, graphics.ReleaseHdc); 190AssertExtensions.Throws<ArgumentException>(null, graphics.ReleaseHdc); 202AssertExtensions.Throws<ArgumentException>(null, graphics.ReleaseHdc); 355graphics.ReleaseHdc(); 439graphics.ReleaseHdc(); 492graphics.ReleaseHdc(); 518graphics.ReleaseHdc(); 564graphics.ReleaseHdc(); 627graphics.ReleaseHdc(); 680graphics.ReleaseHdc(); 741graphics.ReleaseHdc(); 801graphics.ReleaseHdc(); 883graphics.ReleaseHdc(); 943graphics.ReleaseHdc(); 993graphics.ReleaseHdc(); 1046graphics.ReleaseHdc(); 1129graphics.ReleaseHdc(); 1170graphics.ReleaseHdc(); 1275graphics.ReleaseHdc(); 1351graphics.ReleaseHdc(); 1432graphics.ReleaseHdc(); 1508graphics.ReleaseHdc(); 1667graphics.ReleaseHdc(); 1899graphics.ReleaseHdc(); 1941graphics.ReleaseHdc(); 2020graphics.ReleaseHdc(); 2076graphics.ReleaseHdc(); 2148graphics.ReleaseHdc(); 2205graphics.ReleaseHdc(); 2288graphics.ReleaseHdc(); 2363graphics.ReleaseHdc(); 2435graphics.ReleaseHdc(); 2549graphics.ReleaseHdc(); 2638graphics.ReleaseHdc(); 2716graphics.ReleaseHdc(); 2764graphics.ReleaseHdc();
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
163void IDeviceContext.ReleaseHdc() => Graphics?.ReleaseHdc();
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
136void IDeviceContext.ReleaseHdc() => Graphics?.ReleaseHdc();
System.Windows.Forms.Tests (16)
System\Windows\Forms\ButtonTests.cs (2)
3441graphics.ReleaseHdc(); 3517graphics.ReleaseHdc();
System\Windows\Forms\ComboBoxTests.cs (4)
1993graphics.ReleaseHdc(); 2031graphics.ReleaseHdc(); 2100graphics.ReleaseHdc(); 2145graphics.ReleaseHdc();
System\Windows\Forms\ControlTests.Methods.cs (4)
12911graphics.ReleaseHdc(); 13009graphics.ReleaseHdc(); 13253graphics.ReleaseHdc(); 13373graphics.ReleaseHdc();
System\Windows\Forms\GroupBoxTests.cs (4)
2104graphics.ReleaseHdc(); 2145graphics.ReleaseHdc(); 2209graphics.ReleaseHdc(); 2254graphics.ReleaseHdc();
System\Windows\Forms\TextRendererTests.cs (2)
320.Callback(graphics.ReleaseHdc) 545.Callback(graphics.ReleaseHdc)