18 references to MakeTransparent
System.Drawing.Common.Tests (5)
System\Drawing\BitmapTests.cs (5)
840
bitmap.
MakeTransparent
(Color.Blue);
869
bitmap.
MakeTransparent
(Color.Red);
886
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
MakeTransparent
(Color.Red));
897
bitmap.
MakeTransparent
(Color.Red);
909
Assert.Throws<InvalidOperationException>(() => bitmap.
MakeTransparent
(Color.Red));
System.Windows.Forms (7)
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
310
bitmap.
MakeTransparent
(transparent);
693
result.
MakeTransparent
(s_fakeTransparencyColor);
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
152
bitmap.
MakeTransparent
(_owner.TransparentColor);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
244
_sizeGripGlyph.
MakeTransparent
(BackColor);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
1056
bmp.
MakeTransparent
(ImageTransparentColor);
1093
currentImage.
MakeTransparent
(_imageTransparentColor);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
715
image.
MakeTransparent
(SystemColors.Control);
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1025
((Bitmap)_dragImage).
MakeTransparent
(Color.Chartreuse);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (1)
94
_image.
MakeTransparent
(Color.Magenta);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
81
s_selectedColumnsItemBitmap.
MakeTransparent
(Color.Red);
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
165
addNewBitmap.
MakeTransparent
(Color.Magenta);
290
addNewBitmap.
MakeTransparent
(Color.Magenta);
1908
images.
MakeTransparent
(Color.Magenta);