18 references to MakeTransparent
System.Drawing.Common.Tests (5)
System\Drawing\BitmapTests.cs (5)
840bitmap.MakeTransparent(Color.Blue); 869bitmap.MakeTransparent(Color.Red); 886AssertExtensions.Throws<ArgumentException>(null, () => bitmap.MakeTransparent(Color.Red)); 897bitmap.MakeTransparent(Color.Red); 909Assert.Throws<InvalidOperationException>(() => bitmap.MakeTransparent(Color.Red));
System.Windows.Forms (7)
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
310bitmap.MakeTransparent(transparent); 693result.MakeTransparent(s_fakeTransparencyColor);
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
152bitmap.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)
1056bmp.MakeTransparent(ImageTransparentColor); 1093currentImage.MakeTransparent(_imageTransparentColor);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
715image.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)
81s_selectedColumnsItemBitmap.MakeTransparent(Color.Red);
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
165addNewBitmap.MakeTransparent(Color.Magenta); 290addNewBitmap.MakeTransparent(Color.Magenta); 1908images.MakeTransparent(Color.Magenta);