4 writes to _internalStateImageList
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1548
_internalStateImageList
= null;
1789
_internalStateImageList
= new ImageList();
2014
_internalStateImageList
= newImageList;
2054
_internalStateImageList
= null;
16 references to _internalStateImageList
System.Windows.Forms (16)
System\Windows\Forms\Controls\TreeView\TreeView.cs (16)
629
if (StateImageList is not null && StateImageList.Images.Count > 0 &&
_internalStateImageList
is not null)
631
SetStateImageList(
_internalStateImageList
.Handle);
1751
if (
_internalStateImageList
is not null)
1753
handle =
_internalStateImageList
.Handle;
1782
if (
_internalStateImageList
is not null)
1784
_internalStateImageList
.Images.Clear();
1785
_internalStateImageList
.Images.AddRange(images);
1790
_internalStateImageList
.Images.AddRange(images);
1793
Debug.Assert(
_internalStateImageList
is not null, "Why are changing images when the Imagelist is null?");
1794
if (
_internalStateImageList
is not null)
1798
_internalStateImageList
.ImageSize = (Size)StateImageSize;
1801
SetStateImageList(
_internalStateImageList
.Handle);
2013
_internalStateImageList
?.Dispose();
2053
_internalStateImageList
?.Dispose();
2640
if (
_internalStateImageList
is not null)
2642
SetStateImageList(
_internalStateImageList
.Handle);