C#Winform应用程序:标签透明度。 [英] C# Winform Application : Label transparency.

查看:200
本文介绍了C#Winform应用程序:标签透明度。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi thr,

如何设置相对于其他兄弟姐妹或子控件透明的标签背景。默认标签行为如图所示。

Hi thr,
How can i set a label background transparent with respect to other siblings or child controls. default label behavior is as shown in image.

目前我正在开发一个胜利形式的应用程序,其中标签控件是可拖动的   drop-able 并且我希望这些标签控件应该是透明的,并且相互重复。经过谷歌搜索后我发现了这一个  标签
,隐藏背景。
 但它不会按我的意愿工作。  这只是我现在可以通过表单的那个区域看到桌面,这不是'
相当于我们需要的效果。

currently i m developing a win-form application in which labels controls are drag-gable and drop-able and i want those label controls should transparent with repsect to each other. After googling a lot i found this one Label with invisible background. but it won't worked as i wanted. It's just that I can see the desktop through that area of the form now, which isn't quite the effect we need.

推荐答案

< a href ="http://www.codeproject.com/Articles/25048/How-to-Use-Transparent-Images-and-Labels-in-Window"> http://www.codeproject.com/Articles/25048 /如何使用透明图像和窗口标签

http://www.codeproject.com/Articles/92611/Transparent-Label-NET-Control

问候

joon

joon


这篇关于C#Winform应用程序:标签透明度。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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