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