Transparent control over PictureBox

后端 未结 7 1896
遥遥无期
遥遥无期 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 15:01

    After trying most of the provided solutions without success, the following worked for me:

    label1.FlatStyle = FlatStyle.Standard
    label1.Parent = pictureBox1
    
    label1.BackColor = Color.Transparent    
    
    0 讨论(0)
提交回复
热议问题