[英]how can I make just the Form background transparent but not other controls
Say I want to make just the very background of windows form transparent but keep the buttons and the groupboxes 100% NOT transparent and visible. 说我只想使Windows窗体的背景完全透明,但要使按钮和组框100%不透明和不可见。 Is there an easy way to do that??
有一个简单的方法吗? thanks a lot!
非常感谢!
From form properties TransparencyKey
choose a color. 从表单属性
TransparencyKey
选择一种颜色。 This color will be transparent so choose a rare color that is not used from your controls. 该颜色将是透明的,因此请选择控件中未使用的稀有颜色。 Then choose the same color for your form
BackColor
. 然后为表单
BackColor
选择相同的颜色。
valter 瓦尔特
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.