M
Matthew
I have put the following in my Form1_Load event:
Dim Img As Bitmap = New Bitmap(1, 1)
Img.SetPixel(0, 0, Color.Green)
BackgroundImage = Img
TransparencyKey = Img.GetPixel(0, 0)
This makes the background green. It should make the background transparent.
If you comment out the second line, it actually works properly. However, I
need the image to be green.
Any ideas?
Matthew
Dim Img As Bitmap = New Bitmap(1, 1)
Img.SetPixel(0, 0, Color.Green)
BackgroundImage = Img
TransparencyKey = Img.GetPixel(0, 0)
This makes the background green. It should make the background transparent.
If you comment out the second line, it actually works properly. However, I
need the image to be green.
Any ideas?
Matthew