24 references to new
System.Drawing.Common (1)
System\Drawing\SystemIcons.cs (1)
40public static Icon Shield => s_shield ??= new Icon(typeof(SystemIcons), "ShieldIcon.ico");
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
78internal static Icon ErrorIcon => s_errorIcon ??= new Icon(typeof(DataGridView), "IconInError");
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
93get => _icon ??= new Icon(typeof(ComponentEditorPage), "ComponentEditorPage");
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
542Icon defaultIcon = new(typeof(ErrorProvider), "Error");
System\Windows\Forms\Form.cs (1)
868s_defaultIcon ??= new Icon(typeof(Form), "wfc");
System.Windows.Forms.Design (19)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
125using Icon icon = new(typeof(DesignerActionPanel), "Arrow.ico");
System\Windows\Forms\Design\Behavior\ContainerSelectorGlyph.cs (1)
48_glyph ??= new Icon(typeof(ContainerSelectorGlyph), "MoverGlyph").ToBitmap();
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
87_image = new Icon(typeof(ToolStripMenuItem), _name).ToBitmap();
System\Windows\Forms\Design\StandardMenuStripVerb.cs (9)
395image = new Icon(typeof(ToolStripMenuItem), "new").ToBitmap(); 399image = new Icon(typeof(ToolStripMenuItem), "open").ToBitmap(); 403image = new Icon(typeof(ToolStripMenuItem), "save").ToBitmap(); 407image = new Icon(typeof(ToolStripMenuItem), "printPreview").ToBitmap(); 411image = new Icon(typeof(ToolStripMenuItem), "print").ToBitmap(); 415image = new Icon(typeof(ToolStripMenuItem), "cut").ToBitmap(); 419image = new Icon(typeof(ToolStripMenuItem), "copy").ToBitmap(); 423image = new Icon(typeof(ToolStripMenuItem), "paste").ToBitmap(); 427image = new Icon(typeof(ToolStripMenuItem), "help").ToBitmap();
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
88image = new Icon(typeof(ToolStripButton), "blank").ToBitmap();
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
571image = new Icon(typeof(ToolStripButton), "blank").ToBitmap();
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (4)
75item.Image = new Icon(typeof(ToolStripMenuItem), imageName).ToBitmap(); 123Image = new Icon(typeof(ToolStripMenuItem), "image").ToBitmap(), 218_editItemsToolStripMenuItem.Image = new Icon(typeof(ToolStripMenuItem), "editdropdownlist").ToBitmap(); 533image = new Icon(typeof(ToolStripButton), "blank").ToBitmap();
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
797image = new Icon(typeof(ToolStripButton), "blank").ToBitmap();