2 writes to stateImageList
System.Windows.Forms (2)
winforms\Managed\System\WinForms\TreeView.cs (2)
710
stateImageList
= value;
1706
stateImageList
= null;
25 references to stateImageList
System.Windows.Forms (25)
winforms\Managed\System\WinForms\TreeView.cs (25)
676
if (
stateImageList
!= null) {
678
stateImageList
.RecreateHandle += new EventHandler(StateImageListRecreateHandle);
679
stateImageList
.Disposed += new EventHandler(DetachStateImageList);
680
stateImageList
.ChangeHandle += new EventHandler(StateImageListChangedHandle);
685
if (
stateImageList
!= null) {
686
stateImageList
.RecreateHandle -= new EventHandler(StateImageListRecreateHandle);
687
stateImageList
.Disposed -= new EventHandler(DetachStateImageList);
688
stateImageList
.ChangeHandle -= new EventHandler(StateImageListChangedHandle);
704
return
stateImageList
;
707
if (value !=
stateImageList
) {
723
if((value == null ||
stateImageList
.Images.Count == 0) && CheckBoxes) {
1882
if ((null != sender) && (sender ==
stateImageList
) && IsHandleCreated) {
1885
if (
stateImageList
!= null &&
stateImageList
.Images.Count > 0) {
1886
Image[] images = new Image[
stateImageList
.Images.Count + 1];
1887
images[0] =
stateImageList
.Images[0];
1888
for (int i = 1; i <=
stateImageList
.Images.Count ; i++) {
1889
images[i] =
stateImageList
.Images[i -1];
2020
if (
stateImageList
!= null)
2066
if (
stateImageList
!= null &&
stateImageList
.Images.Count > 0)
2074
Image[] images = new Image[
stateImageList
.Images.Count + 1];
2075
images[0] =
stateImageList
.Images[0];
2076
for (int i = 1; i <=
stateImageList
.Images.Count; i++)
2078
images[i] =
stateImageList
.Images[i - 1];