C# Label背景透明

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

posted @ 2015-03-22 14:57  蚁天  阅读(7556)  评论(0编辑  收藏  举报