1 write to HDC
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfScope.cs (1)
29
HDC
= hdc;
24 references to HDC
System.Windows.Forms.Primitives.TestUtilities (4)
Metafiles\EmfScope.cs (4)
65
if (
HDC
.IsNull)
70
_hemf = PInvokeCore.CloseEnhMetaFile(
HDC
);
247
public static implicit operator HDC(in EmfScope scope) => scope.
HDC
;
251
if (!
HDC
.IsNull)
System.Windows.Forms.Tests (19)
System\Windows\Forms\CheckBoxRendererTests.cs (4)
28
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
64
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
101
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
136
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
System\Windows\Forms\ControlPaintTests.Rendering.cs (7)
21
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
40
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
100
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
175
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
249
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
323
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
351
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
System\Windows\Forms\RadioButtonRendererTests.cs (4)
26
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
57
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
94
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
122
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
System\Windows\Forms\TextBoxRendererTests.cs (3)
36
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
65
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
100
using Graphics graphics = Graphics.FromHdc((IntPtr)emf.
HDC
);
TextBoxTests.Rendering.cs (1)
34
textBox.TestAccessor().Dynamic.DrawPlaceholderText(emf.
HDC
);
System.Windows.Forms.TestUtilities (1)
ControlExtensions.cs (1)
20
PInvokeCore.SendMessage(control, PInvokeCore.WM_PRINT, (WPARAM)emf.
HDC
, (LPARAM)(uint)prf);