17 references to new
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
125Bitmap bitmapFinal = new(imageWidth, imageHeight, PixelFormat.Format32bppRgb);
System.Drawing.Common (6)
misc\DpiHelper.cs (1)
105Bitmap deviceImage = new(deviceImageSize.Width, deviceImageSize.Height, logicalImage.PixelFormat);
System\Drawing\Bitmap.cs (3)
84public Bitmap(int width, int height) : this(width, height, PixelFormat.Format32bppArgb) 120public Bitmap(Image original, int width, int height) : this(width, height, PixelFormat.Format32bppArgb) 240using Bitmap result = new(size.Width, size.Height, PixelFormat.Format32bppArgb);
System\Drawing\Icon.cs (2)
632bitmap = new Bitmap(Size.Width, Size.Height, PixelFormat.Format32bppArgb); 691bitmap = new Bitmap(bmpData.Width, bmpData.Height, PixelFormat.Format32bppArgb);
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
5006using Bitmap image = new(width, height, bitmap.PixelFormat);
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
631result = new Bitmap(_imageSize.Width, _imageSize.Height, PixelFormat.Format32bppArgb);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
919using 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)
2485Bitmap 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)
120s_boxImage = new Bitmap(s_boxImageSize, s_boxImageSize, PixelFormat.Format32bppPArgb); 389image = new Bitmap( 422image = new Bitmap(
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
177Bitmap scaledBitmap = new(desiredSize.Width, desiredSize.Height, bitmap.PixelFormat);