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)
213HBITMAP hBitmap = (HBITMAP)ControlPaint.CreateHBitmapTransparencyMask(bitmap); 238HBITMAP hBitmap = (HBITMAP)ControlPaint.CreateHBitmapTransparencyMask(bitmap); 261Assert.Throws<ArgumentNullException>("bitmap", () => ControlPaint.CreateHBitmapTransparencyMask(null));