23 instantiations of ToolboxBitmapAttribute
System.Drawing.Common.Tests (8)
System.Windows.Forms (7)
System.Windows.Forms.Design (4)
System.Windows.Forms.Design.Tests (4)
30 references to ToolboxBitmapAttribute
System.Drawing (1)
System.Drawing.Common (1)
System.Drawing.Common.Tests (16)
System\Drawing\ToolboxBitmapAttributeTests.cs (16)
35ToolboxBitmapAttribute attribute = new(fileName);
55ToolboxBitmapAttribute attribute = new(type);
81ToolboxBitmapAttribute attribute = new(type, fileName);
99ToolboxBitmapAttribute attribute = new((string)null);
114ToolboxBitmapAttribute attribute = new((string)null);
122ToolboxBitmapAttribute attribute = new((string)null);
134ToolboxBitmapAttribute attribute = ToolboxBitmapAttribute.Default;
151ToolboxBitmapAttribute attribute = new(type);
165yield return new object[] { ToolboxBitmapAttribute.Default, ToolboxBitmapAttribute.Default, true };
166yield return new object[] { ToolboxBitmapAttribute.Default, new ToolboxBitmapAttribute(typeof(ToolboxBitmapAttribute), "bitmap_173x183_indexed_8bit"), true };
168yield return new object[] { ToolboxBitmapAttribute.Default, new(), false };
169yield return new object[] { ToolboxBitmapAttribute.Default, null, false };
174public void Equals_Other_ReturnsExpected(ToolboxBitmapAttribute attribute, object other, bool expected)
System.Windows.Forms.Design (12)