2 references to CreateCompatibleBitmap
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataObject.cs (1)
156
IntPtr hBitmapNew = SafeNativeMethods.
CreateCompatibleBitmap
(new HandleRef(null, hDC), bm.Size.Width, bm.Size.Height);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
5236
cachedItemBitmap = new HandleRef(this, SafeNativeMethods.
CreateCompatibleBitmap
(toolStripHDC, bitmapSize.Width, bitmapSize.Height));