I created a progress bar which works perfectly. I recently added percentages but I’d like to display the label on top of the progress bar.
Like so:

The only problem as you can see is that the background is not transparent. Dispite having:
lblPercentage.BackColor = Color.Transparent
on form load… Is there something that can be done for this?
The Transparent BackColor actually works. The problem is that the label gets its BackColor from the form, since the form is its Parent. Therefore we must make the progress bar its parent and adapt its location as well, since now it must be specified relative to the progress bar. Add this code to your form:
Alternatively you can calculate the location of the label like this
You cannot make this in the designer, since your progress bar is probably not a container control (i.e. placing a label on it does not make it a child control of the bar) and you will not see the result in the designer.
UPDATE
You could also try these alternatives:
OnPaintmethod of your control (overrideOnPaint).UserControlas base class of your progress bar. This would allow you to place the label on it in the designer.