Select from following answers:- Remove the image file all together
- Set the Form Transparency key property to the background color of the image file

- Set the Form BackColor property to the background color of the image file
- Set the Form BackgroundImageLayout property to the background color of the image file
- All Above
On the form, set the following properties:
BackColor = Color.Lime;
TransparencyKey = Color.Lime;
This will make the form transparent. Then set the backgroundimage:
BackgroundImage = myImage
The parts of the backgroundimage that is also Color.Lime will also get transparent.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator