4 writes to _internalStateImageList
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1545_internalStateImageList = null; 1786_internalStateImageList = new ImageList(); 1995_internalStateImageList = newImageList; 2037_internalStateImageList = null;
17 references to _internalStateImageList
System.Windows.Forms (17)
System\Windows\Forms\Controls\TreeView\TreeView.cs (17)
632if (StateImageList is not null && StateImageList.Images.Count > 0 && _internalStateImageList is not null) 634SetStateImageList(_internalStateImageList.Handle); 1748if (_internalStateImageList is not null) 1750handle = _internalStateImageList.Handle; 1779if (_internalStateImageList is not null) 1781_internalStateImageList.Images.Clear(); 1782_internalStateImageList.Images.AddRange(images); 1787_internalStateImageList.Images.AddRange(images); 1790Debug.Assert(_internalStateImageList is not null, "Why are changing images when the Imagelist is null?"); 1791if (_internalStateImageList is not null) 1795_internalStateImageList.ImageSize = (Size)StateImageSize; 1798SetStateImageList(_internalStateImageList.Handle); 1994_internalStateImageList?.Dispose(); 2034if (_internalStateImageList is not null) 2036_internalStateImageList.Dispose(); 2630if (_internalStateImageList is not null) 2632SetStateImageList(_internalStateImageList.Handle);