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)
18public HDC Handle => _cachedItemHDC; 27if (_cachedItemHDC.IsNull) 35HGDIOBJ oldBitmap = PInvokeCore.SelectObject(_cachedItemHDC, _cachedItemBitmap); 47return _cachedItemHDC; 52if (!_cachedItemHDC.IsNull) 59PInvokeCore.DeleteDC(_cachedItemHDC);