控制中的透明背景色. [英] Transparent background colors in control.

查看:103
本文介绍了控制中的透明背景色.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我将以下代码用于设计控件:


 继承 System.Windows.Forms.Control 




但是在编写此代码时:

 .BackColor= Color.Transparent




和debug.Error如下所示:


控件不支持透明背景色.


我该怎么办?



tanX so math.

解决方案



控件不支持透明背景 [ ^ ]

希望对您有所帮助.


hi
I used this code for design a control:


Inherits System.Windows.Forms.Control




But when write this code:

Me.BackColor = Color.Transparent




and debug.Error come like this:


Control does not support transparent background Colors.


what can i do?



tanX so math.

解决方案

Hi,

Control does not support transparent background [^]

hope it helps.


这篇关于控制中的透明背景色.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆