4 writes to
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
196this[index] = image;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ImageList.ImageCollectionTests.cs (2)
305Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = null); 317Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = null);
WinFormsControlsTest (1)
ListViewTest.cs (1)
281LargeImageList.Images[listView1.SelectedIndices[0]] = bitmap;
15 references to
System.Windows.Forms (9)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
391return _imageList.Images[actualIndex];
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (2)
188get => this[index]; 220return this[index];
System\Windows\Forms\Controls\Labels\Label.cs (1)
376return ImageList.Images[ImageIndexer.ActualIndex];
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2095if (images[i] is Bitmap bitmap)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1041image = Owner.ImageList.Images[ImageIndexer.ActualIndex];
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1775images[i] = _stateImageList.Images[i - 1]; 1987images[i] = _stateImageList.Images[i - 1];
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
327g.DrawImage(imageList.Images[imageIndex], bounds);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ImageCollectionEditor.cs (1)
98imageListImages[i] = new ImageListImage(source[i]) { Name = source.Keys[i] };
System\Windows\Forms\Design\ImageIndexEditor.cs (1)
96return _currentImageList.Images[index];
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
123_items.Add(new ImageListImage((Bitmap)_owner.ImageList.Images[i], imageKeys[i]));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ImageList.ImageCollectionTests.cs (3)
223Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 235Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 361Assert.Equal(((Bitmap)collection[expectedIndex]).GetPixel(0, 0), result1.GetPixel(0, 0));