4 writes to _internalStateImageList
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1544_internalStateImageList = null; 1785_internalStateImageList = new ImageList(); 1994_internalStateImageList = newImageList; 2036_internalStateImageList = null;
17 references to _internalStateImageList
System.Windows.Forms (17)
System\Windows\Forms\Controls\TreeView\TreeView.cs (17)
631if (StateImageList is not null && StateImageList.Images.Count > 0 && _internalStateImageList is not null) 633SetStateImageList(_internalStateImageList.Handle); 1747if (_internalStateImageList is not null) 1749handle = _internalStateImageList.Handle; 1778if (_internalStateImageList is not null) 1780_internalStateImageList.Images.Clear(); 1781_internalStateImageList.Images.AddRange(images); 1786_internalStateImageList.Images.AddRange(images); 1789Debug.Assert(_internalStateImageList is not null, "Why are changing images when the Imagelist is null?"); 1790if (_internalStateImageList is not null) 1794_internalStateImageList.ImageSize = (Size)StateImageSize; 1797SetStateImageList(_internalStateImageList.Handle); 1993_internalStateImageList?.Dispose(); 2033if (_internalStateImageList is not null) 2035_internalStateImageList.Dispose(); 2630if (_internalStateImageList is not null) 2632SetStateImageList(_internalStateImageList.Handle);