12 references to Bitmap
PresentationFramework-SystemDrawing (2)
SystemDrawingExtension.cs (2)
119Bitmap img = new Bitmap(stream); 149return new Bitmap(bitmapStream);
System.Drawing.Common.Tests (5)
System\Drawing\BitmapTests.cs (5)
121using Bitmap bitmap = new(stream); 146AssertExtensions.Throws<ArgumentNullException, ArgumentException>("stream", null, () => new Bitmap((Stream)null)); 154AssertExtensions.Throws<ArgumentException>(null, () => new Bitmap(stream)); 1574using Bitmap bitmap = new(new TestStream(stream, canSeek: false)); 1596using (Bitmap bitmap = new(backingStream))
System.Windows.Forms (1)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (1)
52bitmap = new Bitmap(new MemoryStream(data.GetArray()));
System.Windows.Forms.Design (3)
System\Drawing\Design\BitmapEditor.cs (1)
19protected override Image LoadFromStream(Stream stream) => new Bitmap(stream);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
78s_selectedColumnsItemBitmap = new Bitmap(
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
161Bitmap addNewBitmap = new(
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\EmbeddedResourceTests.cs (1)
106using Bitmap bitmap = new(stream);