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