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)
632
if (StateImageList is not null && StateImageList.Images.Count > 0 &&
_internalStateImageList
is not null)
634
SetStateImageList(
_internalStateImageList
.Handle);
1748
if (
_internalStateImageList
is not null)
1750
handle =
_internalStateImageList
.Handle;
1779
if (
_internalStateImageList
is not null)
1781
_internalStateImageList
.Images.Clear();
1782
_internalStateImageList
.Images.AddRange(images);
1787
_internalStateImageList
.Images.AddRange(images);
1790
Debug.Assert(
_internalStateImageList
is not null, "Why are changing images when the Imagelist is null?");
1791
if (
_internalStateImageList
is not null)
1795
_internalStateImageList
.ImageSize = (Size)StateImageSize;
1798
SetStateImageList(
_internalStateImageList
.Handle);
1994
_internalStateImageList
?.Dispose();
2034
if (
_internalStateImageList
is not null)
2036
_internalStateImageList
.Dispose();
2630
if (
_internalStateImageList
is not null)
2632
SetStateImageList(
_internalStateImageList
.Handle);