Transparent control over PictureBox

后端 未结 7 1982
遥遥无期
遥遥无期 2020-11-22 14:21

In my C# Form I have a Label that displays a download percentage in the download event:

  this.lblprg.Text = overallpercent.ToString(\"#0\") + \"%\";
         


        
7条回答
  •  没有蜡笔的小新
    2020-11-22 14:59

    Using Visual Studio with Windows Form you may apply transparency to labels or other elements by adding using System.Drawing; into Form1.Designer.cs This way you will have Transparency available from the Properties panel ( in Appearance at BackColor ). Or just edit code in Designer.cs this.label1.BackColor = System.Drawing.Color.Transparent;

提交回复
热议问题