I currently have a Form with all the desired effects except one. The current form consists out of a menustrip at the top with a panel underneath which contains labels and pi
Assuming WinForms.
You can do this, but you cannot make the edges semi-transparent.
Try this.
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.
If you also want to get rid of the Forms
borders, add this line as well:
FormBorderStyle = FormBorderStyle.None;
Be careful when you will choosing backcolor. Chose a Backcolor to differ from your text, images, and any control's color that mean choose a color that you will never going to use in your Form and I think Fuchsia/ lime will be the best choice.For choosing a backcolor codes are below:
this.BackColor = Color.Fuchsia;
and then Make that color to Transparent by using that codes:
TransparencyKey = Color.Fuchsia;