17 references to new
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
125
Bitmap bitmapFinal =
new
(imageWidth, imageHeight, PixelFormat.Format32bppRgb);
System.Drawing.Common (6)
misc\DpiHelper.cs (1)
105
Bitmap deviceImage =
new
(deviceImageSize.Width, deviceImageSize.Height, logicalImage.PixelFormat);
System\Drawing\Bitmap.cs (3)
84
public Bitmap(int width, int height) :
this
(width, height, PixelFormat.Format32bppArgb)
120
public Bitmap(Image original, int width, int height) :
this
(width, height, PixelFormat.Format32bppArgb)
240
using Bitmap result =
new
(size.Width, size.Height, PixelFormat.Format32bppArgb);
System\Drawing\Icon.cs (2)
632
bitmap = new
Bitmap
(Size.Width, Size.Height, PixelFormat.Format32bppArgb);
691
bitmap = new
Bitmap
(bmpData.Width, bmpData.Height, PixelFormat.Format32bppArgb);
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
5006
using Bitmap image =
new
(width, height, bitmap.PixelFormat);
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
631
result = new
Bitmap
(_imageSize.Width, _imageSize.Height, PixelFormat.Format32bppArgb);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
919
using Bitmap textBmp =
new
(textSize.Width, textSize.Height, PixelFormat.Format32bppPArgb);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
375
_cachedBitmap = new
Bitmap
(width, height, PixelFormat.Format32bppArgb);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2485
Bitmap result =
new
(bitmap.Width, bitmap.Height, bitmap.PixelFormat);
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1013
_dragImage = new
Bitmap
(imageWidth, imageHeight, Drawing.Imaging.PixelFormat.Format32bppPArgb);
System\Windows\Forms\Design\DesignerUtils.cs (3)
120
s_boxImage = new
Bitmap
(s_boxImageSize, s_boxImageSize, PixelFormat.Format32bppPArgb);
389
image = new
Bitmap
(
422
image = new
Bitmap
(
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
177
Bitmap scaledBitmap =
new
(desiredSize.Width, desiredSize.Height, bitmap.PixelFormat);