问题
I've set a label's BackColor property to 'Transparent' in windows form but its just White? It's not going transparent?
Anyone know why this is happening?
回答1:
The label does not support transparency, you must create your own unique custom control, you can see these code examples.
http://www.codeproject.com/KB/dotnet/transparent_controls_net.aspx http://www.codeproject.com/KB/vb/uLabelX.aspx
来源:https://stackoverflow.com/questions/6622052/label-backcolor-not-going-transparent