3 references to CreateHBitmap16Bit
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlPaintTests.cs (3)
34HBITMAP hBitmap = (HBITMAP)ControlPaint.CreateHBitmap16Bit(bitmap, background); 59HBITMAP hBitmap = (HBITMAP)ControlPaint.CreateHBitmap16Bit(bitmap, Color.Red); 82Assert.Throws<ArgumentNullException>(() => ControlPaint.CreateHBitmap16Bit(null, Color.Red));