6 references to CreateHBitmapTransparencyMask
System.Windows.Forms (3)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
374
HBITMAP hMask = (HBITMAP)ControlPaint.
CreateHBitmapTransparencyMask
(bitmap);
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
158
HBITMAP hMask = (HBITMAP)ControlPaint.
CreateHBitmapTransparencyMask
(bitmap);
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
44
using HBITMAP mask = (HBITMAP)ControlPaint.
CreateHBitmapTransparencyMask
(bitmap);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlPaintTests.cs (3)
213
HBITMAP hBitmap = (HBITMAP)ControlPaint.
CreateHBitmapTransparencyMask
(bitmap);
238
HBITMAP hBitmap = (HBITMAP)ControlPaint.
CreateHBitmapTransparencyMask
(bitmap);
261
Assert.Throws<ArgumentNullException>("bitmap", () => ControlPaint.
CreateHBitmapTransparencyMask
(null));