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)
1549collection.SetKeyName(index, name); 1554collection.SetKeyName(index, name); 1571collection.SetKeyName(index, name); 1576collection.SetKeyName(index, name); 1589Assert.Throws<IndexOutOfRangeException>(() => collection.SetKeyName(index, "name")); 1601Assert.Throws<IndexOutOfRangeException>(() => collection.SetKeyName(index, "name"));
System\Windows\Forms\ListViewTests.cs (2)
5054imagecollection.Images.SetKeyName(0, "SmallA.bmp"); 5055imagecollection.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");