Visual C# LABEL背景透明作法

private void Form1_Load(object sender, EventArgs e) { label1.BackColor = Color.Transparent; label1.Parent = pictureBox1;//將pictureBox1設為LABEL的父控件 label1.Location = new Point(80, 80);//重新設定LABEL的位置,PICTUREBOX左上角為(0,0) }

目前測試在picturebox控件上實現OK,progressbar不OK;

附件進度條上透明LABEL的代碼未測試,有空再測

吐嘈一下微軟,這麼簡單容易的功能都不做!!!!!!!!!!