Reasons for why a WinForms label does not want to be transparent?

后端 未结 11 1841
抹茶落季
抹茶落季 2020-11-28 10:42

Why can\'t I set the BackColor of a Label to Transparent? I have done it before, but now it just don\'t want to...

I created a new UserControl, added a progressbar a

11条回答
  •  天命终不由人
    2020-11-28 11:03

    Select BackColor, go the Web tab, and select Transparent. Generates the following.

            this.label1.BackColor = System.Drawing.Color.Transparent;
    

提交回复
热议问题