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