20 references to imageInfoCollection
System.Windows.Forms (20)
winforms\Managed\System\WinForms\ImageList.cs (20)
1032
for (int i = 0; i <
imageInfoCollection
.Count; i++) {
1033
ImageInfo image =
imageInfoCollection
[i] as ImageInfo;
1048
if (
imageInfoCollection
!= null)
1049
imageInfoCollection
.Clear();
1052
imageInfoCollection
.Add(new ImageCollection.ImageInfo());
1235
Debug.Assert((this.Count ==
imageInfoCollection
.Count), "The count of these two collections should be equal.");
1252
Debug.Assert((this.Count ==
imageInfoCollection
.Count), "The count of these two collections should be equal.");
1357
imageInfoCollection
.Add(new ImageInfo());
1362
imageInfoCollection
.Add(imageInfo);
1421
imageInfoCollection
.Clear();
1492
if ((
imageInfoCollection
[lastAccessedIndex] != null) &&
1493
(WindowsFormsUtils.SafeCompareStrings(((ImageInfo)
imageInfoCollection
[lastAccessedIndex]).Name, key, /* ignoreCase = */ true))) {
1500
if ((
imageInfoCollection
[i] != null) &&
1501
(WindowsFormsUtils.SafeCompareStrings(((ImageInfo)
imageInfoCollection
[i]).Name, key, /* ignoreCase = */ true))) {
1584
if ((
imageInfoCollection
!= null) && (index >= 0 && index <
imageInfoCollection
.Count)) {
1585
imageInfoCollection
.RemoveAt(index);
1612
if (
imageInfoCollection
[index] == null) {
1613
imageInfoCollection
[index] = new ImageInfo();
1616
((ImageInfo)
imageInfoCollection
[index]).Name = name;