winform学习(10)设置控件透明背景色

如何将控件的背景色设置为透明

①将属性BackColor设置为Web--Transparent

②将属性FlatStyle设置为Flat

如果想将边框去掉:

将属性FlatAppearance下的BorderSize设置为0

原文地址:https://www.cnblogs.com/1016391912pm/p/11507181.html