7 references to CreateCompatibleDC
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ContainerControl.cs (1)
739
IntPtr dc = UnsafeNativeMethods.
CreateCompatibleDC
(NativeMethods.NullHandleRef);
winforms\Managed\System\WinForms\Control.cs (1)
19248
hBitmapDC = new HandleRef(this, UnsafeNativeMethods.
CreateCompatibleDC
(NativeMethods.NullHandleRef));
winforms\Managed\System\WinForms\ControlPaint.cs (2)
308
IntPtr source = UnsafeNativeMethods.
CreateCompatibleDC
(new HandleRef(null, hdcS));
309
IntPtr target = UnsafeNativeMethods.
CreateCompatibleDC
(new HandleRef(null, hdcS));
winforms\Managed\System\WinForms\DataObject.cs (2)
150
IntPtr dcSrc = UnsafeNativeMethods.
CreateCompatibleDC
(new HandleRef(null, hDC));
155
IntPtr dcDest = UnsafeNativeMethods.
CreateCompatibleDC
(new HandleRef(null, hDC));
winforms\Managed\System\WinForms\ToolStrip.cs (1)
5231
IntPtr compatibleHDC = UnsafeNativeMethods.
CreateCompatibleDC
(toolStripHDC);