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