How to make a transparent Label over a PictureBox.

The Label control become a child of the Form when using the Form Designer.
It's the cause of opaque. We need to set Parent property to the PictureBox
object after InitializeComponent.

InitializeComponent();
label1.Parent = pictureBox1;
label1.BackColor = Color.Transparent;

--
Ebook Download
View all
Learn
View all