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)
1551collection.SetKeyName(index, name); 1556collection.SetKeyName(index, name); 1573collection.SetKeyName(index, name); 1578collection.SetKeyName(index, name); 1591Assert.Throws<IndexOutOfRangeException>(() => collection.SetKeyName(index, "name")); 1603Assert.Throws<IndexOutOfRangeException>(() => collection.SetKeyName(index, "name"));
System\Windows\Forms\ListViewTests.cs (2)
5056imagecollection.Images.SetKeyName(0, "SmallA.bmp"); 5057imagecollection.Images.SetKeyName(1, "SmallABlue.bmp");
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
43imageList1.Images.SetKeyName(0, "dotnet.png");
WinFormsControlsTest (6)
ListViewTest.Designer.cs (4)
53this.imageList1.Images.SetKeyName(0, "SmallA.bmp"); 54this.imageList1.Images.SetKeyName(1, "SmallABlue.bmp"); 104this.imageList2.Images.SetKeyName(0, "LargeA.bmp"); 105this.imageList2.Images.SetKeyName(1, "LargeABlue.bmp");
TreeViewTest.Designer.cs (2)
57this.imageList1.Images.SetKeyName(0, "SmallA.bmp"); 58this.imageList1.Images.SetKeyName(1, "SmallABlue.bmp");