23 references to new
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
68Bitmap bmp = new Bitmap(bitmapwidth, bitmapheight);
System.Drawing.Common (1)
System\Drawing\Icon.cs (1)
738bitmap = new Bitmap(size.Width, size.Height); // initialized to transparent
System.Windows.Forms (17)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
77using Bitmap bitmap = new(2, 2);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
308Bitmap bitmap = new(fullSize.Width, fullSize.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1356Bitmap bitmap = new(fullSize.Width, fullSize.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
834bmFlipXPThemes = FlipXPThemesBitmap = new Bitmap(backgroundBounds.Width, backgroundBounds.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
702using Bitmap bmFlipXPThemes = new(backgroundBounds.Height, backgroundBounds.Width);
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
659result = new Bitmap(_imageSize.Width, _imageSize.Height);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
974return new Bitmap(size.Width, size.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2645using Bitmap image = new(bounds.Width, bounds.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
707Bitmap image = new(16, 16);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1170Bitmap disabledBitmap = new(size.Width, size.Height);
System\Windows\Forms\Rendering\ControlPaint.cs (7)
1399Bitmap bitmap = new(rectangle.Width, rectangle.Height); 1469using Bitmap bitmap = new(width, height); 1562using Bitmap bitmap = new(width, height); 1661using Bitmap bitmap = new(image.Width, image.Height); 2153using Bitmap bitmap = new(patternSize, patternSize); 2204using Bitmap b = new(2, 2); 2280using Bitmap bitmap = new(patternSize, patternSize);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
290_swatch = new Bitmap(width, height);
WindowsFormsIntegration (3)
System\Windows\Integration\HostUtils.cs (3)
178SD.Bitmap bitmap = new SD.Bitmap(control.ClientRectangle.Width, control.ClientRectangle.Height); 196SD.Bitmap returnBitmap = new SD.Bitmap(childElementHost.ClientRectangle.Width, childElementHost.ClientRectangle.Height); 280return new SD.Bitmap(1, 1);