6 references to GetImage
System.Drawing.Common (1)
System\Drawing\ToolboxBitmapAttribute.cs (1)
65
public Image? GetImage(Type type, bool large) =>
GetImage
(type, null, large);
System.Drawing.Common.Tests (5)
System\Drawing\ToolboxBitmapAttributeTests.cs (5)
83
using Image image = attribute.
GetImage
(type, fileName, false);
100
using (Image image = attribute.
GetImage
(typeof(ToolboxBitmapAttributeTests), fileName, large: true))
105
using (Image image = attribute.
GetImage
(typeof(ToolboxBitmapAttributeTests), fileName, large: false))
136
using (Image image = attribute.
GetImage
(typeof(ToolboxBitmapAttributeTests), "bitmap_173x183_indexed_8bit", large: true))
141
using (Image image = attribute.
GetImage
(typeof(ToolboxBitmapAttributeTests), "bitmap_173x183_indexed_8bit", large: false))