4 writes to _internalStateImageList
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1542_internalStateImageList = null; 1783_internalStateImageList = new ImageList(); 1991_internalStateImageList = newImageList; 2031_internalStateImageList = null;
16 references to _internalStateImageList
System.Windows.Forms (16)
System\Windows\Forms\Controls\TreeView\TreeView.cs (16)
629if (StateImageList is not null && StateImageList.Images.Count > 0 && _internalStateImageList is not null) 631SetStateImageList(_internalStateImageList.Handle); 1745if (_internalStateImageList is not null) 1747handle = _internalStateImageList.Handle; 1776if (_internalStateImageList is not null) 1778_internalStateImageList.Images.Clear(); 1779_internalStateImageList.Images.AddRange(images); 1784_internalStateImageList.Images.AddRange(images); 1787Debug.Assert(_internalStateImageList is not null, "Why are changing images when the Imagelist is null?"); 1788if (_internalStateImageList is not null) 1792_internalStateImageList.ImageSize = (Size)StateImageSize; 1795SetStateImageList(_internalStateImageList.Handle); 1990_internalStateImageList?.Dispose(); 2030_internalStateImageList?.Dispose(); 2617if (_internalStateImageList is not null) 2619SetStateImageList(_internalStateImageList.Handle);