7 references to Add
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
2263
images.
Add
(value, Color.Transparent);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ImageList.ImageCollectionTests.cs (6)
603
collection.
Add
(value, transparentColor);
610
collection.
Add
(value, transparentColor);
628
collection.
Add
(value, transparentColor);
635
collection.
Add
(value, transparentColor);
794
Assert.Throws<ArgumentNullException>("value", () => collection.
Add
(null, Color.Transparent));
808
Assert.Throws<ArgumentException>(() => collection.
Add
(value, Color.Transparent));