16 references to SetKeyName
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
78
_owner.ImageList.Images.
SetKeyName
(index, name);
System.Windows.Forms.Tests (8)
System\Windows\Forms\ImageList.ImageCollectionTests.cs (6)
1549
collection.
SetKeyName
(index, name);
1554
collection.
SetKeyName
(index, name);
1571
collection.
SetKeyName
(index, name);
1576
collection.
SetKeyName
(index, name);
1589
Assert.Throws<IndexOutOfRangeException>(() => collection.
SetKeyName
(index, "name"));
1601
Assert.Throws<IndexOutOfRangeException>(() => collection.
SetKeyName
(index, "name"));
System\Windows\Forms\ListViewTests.cs (2)
5054
imagecollection.Images.
SetKeyName
(0, "SmallA.bmp");
5055
imagecollection.Images.
SetKeyName
(1, "SmallABlue.bmp");
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
43
imageList1.Images.
SetKeyName
(0, "dotnet.png");
WinFormsControlsTest (6)
ListViewTest.Designer.cs (4)
53
this.imageList1.Images.
SetKeyName
(0, "SmallA.bmp");
54
this.imageList1.Images.
SetKeyName
(1, "SmallABlue.bmp");
104
this.imageList2.Images.
SetKeyName
(0, "LargeA.bmp");
105
this.imageList2.Images.
SetKeyName
(1, "LargeABlue.bmp");
TreeViewTest.Designer.cs (2)
57
this.imageList1.Images.
SetKeyName
(0, "SmallA.bmp");
58
this.imageList1.Images.
SetKeyName
(1, "SmallABlue.bmp");