Guest User

Untitled

a guest
Feb 17th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Bitmap b = new Bitmap(pictureBox2.Image);
  2. b.MakeTransparent(b.GetPixel(1, 1));
  3. pictureBox2.Image = b;
  4.  
  5. PictureBox2.BackColor = Color.Black;
  6. Bitmap bmp = new Bitmap (pictureBox2.Image);
  7. bmp.MakeTransparent(Color.Black);
  8. pictureBox2.Image = bmp;
Add Comment
Please, Sign In to add comment