0

I have this transparent circle with a glow around it and I am trying to put it on a transparent form that uses a transparency key, but the glowing part of the image shows the transparency key like this: what the form shows

Is there anyway to fix this?

Edit: Here is the code I am using

// This makes the form transparent
this.BackColor = Color.Coral;
this.TransparencyKey = Color.Coral;

// I have the circle in a picture box like this
picturebox.Size = Properties.Resources.image.Size;
picturebox.Image = Properties.Resources.image;
gunr2171
  • 16,104
  • 25
  • 61
  • 88
  • 2
    What UI technology are you using? Winforms? WPF? Can you show the code for making the form transparent and loading the button? – gunr2171 Jul 14 '21 at 20:29
  • Sorry for not being clear early I am using Winforms to make this and I added the code above. – TastyEquation60 Jul 14 '21 at 21:16
  • 1
    You need a per-pixel-alpha Layered Form. See [Windows Form Transparent Background Image](https://stackoverflow.com/a/33531201/7444103) – Jimi Jul 14 '21 at 22:15

0 Answers0