4 writes to _internalStateImageList
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1678
_internalStateImageList
= null;
1918
_internalStateImageList
= new ImageList();
2134
_internalStateImageList
= newImageList;
2174
_internalStateImageList
= null;
16 references to _internalStateImageList
System.Windows.Forms (16)
System\Windows\Forms\Controls\TreeView\TreeView.cs (16)
660
if (StateImageList is not null && StateImageList.Images.Count > 0 &&
_internalStateImageList
is not null)
662
SetStateImageList(
_internalStateImageList
.Handle);
1880
if (
_internalStateImageList
is not null)
1882
handle =
_internalStateImageList
.Handle;
1911
if (
_internalStateImageList
is not null)
1913
_internalStateImageList
.Images.Clear();
1914
_internalStateImageList
.Images.AddRange(images);
1919
_internalStateImageList
.Images.AddRange(images);
1922
Debug.Assert(
_internalStateImageList
is not null, "Why are changing images when the Imagelist is null?");
1923
if (
_internalStateImageList
is not null)
1927
_internalStateImageList
.ImageSize = (Size)StateImageSize;
1930
SetStateImageList(
_internalStateImageList
.Handle);
2133
_internalStateImageList
?.Dispose();
2173
_internalStateImageList
?.Dispose();
2833
if (
_internalStateImageList
is not null)
2835
SetStateImageList(
_internalStateImageList
.Handle);