2 writes to _cachedItemBitmap
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (2)
34
_cachedItemBitmap
= PInvokeCore.CreateCompatibleBitmap(toolStripHDC, bitmapSize.Width, bitmapSize.Height);
63
_cachedItemBitmap
= default;
3 references to _cachedItemBitmap
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (3)
35
HGDIOBJ oldBitmap = PInvokeCore.SelectObject(_cachedItemHDC,
_cachedItemBitmap
);
54
if (!
_cachedItemBitmap
.IsNull)
56
PInvokeCore.DeleteObject(
_cachedItemBitmap
);