6 references to GetImage
System.Drawing.Common (1)
System\Drawing\ToolboxBitmapAttribute.cs (1)
58public Image? GetImage(object? component) => GetImage(component, true);
System.Drawing.Common.Tests (3)
System\Drawing\ToolboxBitmapAttributeTests.cs (3)
116Assert.Null(attribute.GetImage((object)null, true)); 124using Image smallImage = attribute.GetImage(new bitmap_173x183_indexed_8bit(), large: false); 127using Image largeImage = attribute.GetImage(new bitmap_173x183_indexed_8bit(), large: true);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ComponentTray.cs (1)
2445_toolboxBitmap = attr.GetImage(_component, _tray.ShowLargeIcons);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1224ToolboxBitmap = attr.GetImage(column, large: false);