Winform中的透明控件 [英] Transparent Controls in Winform

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

问题描述

我创建了一个自定义控件.这是一个透明的矩形
背景.通过控件可以看到容器.但是
当控件彼此相交时,就不可能看到
控制位于另一个之下.
例如:
我在组件上方创建透明面板以选择一个矩形,然后查看组件上的所有东西.
请帮帮我.
非常感谢.

I have created a custom control. It''s a rectangle with transparent
background. It''s possible to see the container through the control. But
when controls intersect one another then it''s not possible to see the
control lying under another.
Ex:
I create transparent panel above component to choose a rectangle and see evething on component.
Please help me.
Many thanks.

推荐答案

您是否考虑过尝试在WPF中进行此操作.如果您的内容很简单,那么转换起来应该不会太困难.
Have you considered attempting to do this in WPF. If your stuff is simple, then should not be too difficult to convert.


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

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