Visual Studio 2015面板透明度不起作用 [英] Visual Studio 2015 Panel transparency does not work

查看:95
本文介绍了Visual Studio 2015面板透明度不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Goodday

尽管将背景色设置为透明,但所有面板,图片框,组框等似乎都覆盖了我的按钮和标签.

All Panels, Picture Boxes, Group Boxes etc. seem to be covering my Buttons and labels although the backcolor is set to transparent.

一种解决方案是将面板下方的每个项目手动设置为:

A solution would be to set every Item below the Panel on top manually as:

Button.BringToFront();

问题是由于将动态创建面板,所以我永远不知道面板下面到底是什么.请注意,面板下方的按钮和标签也是动态创建的,因此我什至看不到如何引用我不知道的对象 它们在面板下方.

Trouble is since the Panel will be dynamically created, I will never know what exactly is below the panel. Mind the buttons and labels below the Panel are also dynamically created so I don't see how I even have a reference to the objects that I don't know wether they are below the panel.

我只看到解决此问题的两种方法:

I see only two ways of solving this problem:

1)使面板透明或2)找到一种方法来访问其下面隐藏的所有对象.

1) Making the Panel Transparent OR 2) Find a way to access all the objects hidden below it.

我不知道这对于一个问题来说是否太多,但我希望这会很好.

I don't know if this is too much for just one question but I hope it will be fine.

推荐答案

AzulShiva,

Hi AzulShiva,

能否请您告诉我您的项目类型是什么?

Could you please tell me what's the type of your project?

由于我们的论坛正在讨论VS通用问题,例如如何设置/配置Visual Studio和Visual Studio工具.

Since Our forum is discussing about VS general question like how to set/configure Visual Studio and Visual Studio tools.

如果您能告诉我您的项目类型和开发语言,我将帮助您将话题转移到相应的论坛以获得更好的支持.

If you could tell me your project type and your development language, I will help move your thread to corresponding forum for better support.

感谢您的理解.

最好的问候,

肖湖


这篇关于Visual Studio 2015面板透明度不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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