2 writes to _cachedItemHDC
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (2)
30
_cachedItemHDC
= PInvokeCore.CreateCompatibleDC(toolStripHDC);
62
_cachedItemHDC
= default;
6 references to _cachedItemHDC
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (6)
18
public HDC Handle =>
_cachedItemHDC
;
27
if (
_cachedItemHDC
.IsNull)
35
HGDIOBJ oldBitmap = PInvokeCore.SelectObject(
_cachedItemHDC
, _cachedItemBitmap);
47
return
_cachedItemHDC
;
52
if (!
_cachedItemHDC
.IsNull)
59
PInvokeCore.DeleteDC(
_cachedItemHDC
);