14 references to new
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\HBITMAP.cs (2)
24
using CreateDcScope sourceDC =
new
(screenDC);
28
using CreateDcScope destinationDC =
new
(screenDC);
System.Windows.Forms (6)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1705
using CreateDcScope compatibleDC =
new
(default);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
707
using CreateDcScope dc =
new
(default);
System\Windows\Forms\Rendering\ControlPaint.cs (4)
153
using CreateDcScope screen =
new
(default);
154
using CreateDcScope dc =
new
(screen);
308
using CreateDcScope sourceDC =
new
(screenDC);
309
using CreateDcScope targetDC =
new
(screenDC);
System.Windows.Forms.Primitives.Tests (5)
System\Windows\Forms\DeviceContextScopeTests.cs (2)
19
using CreateDcScope dcScope =
new
(default);
59
using CreateDcScope dcScope =
new
(default);
Windows\Win32\RegionTests.cs (3)
14
using CreateDcScope hdc =
new
(HDC.Null);
34
using CreateDcScope hdc =
new
(HDC.Null);
48
using CreateDcScope hdc =
new
(HDC.Null);
System.Windows.Forms.Tests (1)
System\Windows\Forms\TextRendererTests.cs (1)
751
using var hdc = new
CreateDcScope
(default);