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