public void Add_Icons_to_image_list() { var imageList = new ImageList(); imageList.AddIcon(IconChar.AccessibleIcon, 16, Color.Black); imageList.AddIcons(16, Color.Black, IconChar.AddressBook, IconChar.AirFreshener); imageList.Images.Should().HaveCount(3); }
public void Add_Icons_to_image_list() { const int size = 16; var imageList = new ImageList(); imageList.AddIcon(IconChar.AccessibleIcon, Color.Black, size); imageList.AddIcons(Color.Black, size, IconChar.AddressBook, IconChar.AirFreshener); imageList.Images.Should().HaveCount(3); }