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