12 references to Null
System.Drawing.Common (7)
System\Drawing\BufferedGraphicsContext.cs (3)
77
return AllocBufferInTempManager(targetGraphics, HDC.
Null
, targetRectangle);
80
return AllocBuffer(targetGraphics, HDC.
Null
, targetRectangle);
433
_compatDC = HDC.
Null
;
System\Drawing\Graphics.cs (2)
146
_nativeHdc = HDC.
Null
;
3293
HDC hdc = HDC.
Null
;
System\Drawing\Printing\DefaultPrintController.cs (1)
17
HDC IHandle<HDC>.Handle => _hdc?.Handle ?? HDC.
Null
;
System\Drawing\Printing\PreviewPrintController.cs (1)
58
HDC hdc = _hdc ?? HDC.
Null
;
System.Drawing.Common.Tests (2)
System\Drawing\ImageTests.cs (1)
673
HDC hdc = PInvokeCore.CreateEnhMetaFile(HDC.
Null
, default, null, default(PCWSTR));
System\Drawing\Imaging\MetafileTests.cs (1)
1025
HDC hdc = PInvokeCore.CreateEnhMetaFile(HDC.
Null
, default, null, default(PCWSTR));
System.Windows.Forms.Primitives.Tests (3)
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
);