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