C# Label背景透明

Label背景透明是相对于Label的Parent而言的,如果Label的Parent是一个winform,而这个winform又有一个PictureBox,现在Label放在PictureBox上,单纯设置Label.BackColor = Color.Transparent;发现Label背景是winform的背景,依旧会遮挡PictureBox,还需要设置Label的Parent为PictureBox。

原文地址:https://www.cnblogs.com/niss/p/4357342.html