3 references to GetImageFromResource
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (2)
300_image = ToolboxBitmapAttribute.GetImageFromResource(_itemType, imageName: null, large: false); 304_image ??= ToolboxBitmapAttribute.GetImageFromResource(_comp!.GetType(), imageName: null, large: false);
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (1)
138Bitmap knownImage = ToolboxBitmapAttribute.GetImageFromResource(itemType, null, false) as Bitmap;