强制Windows经典主题的应用 [英] Force Windows Classic Theme for Application

查看:169
本文介绍了强制Windows经典主题的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索围绕这个问题,但未能拿出任何东西。

Hey Guys, I've searched around for this question but couldn't come up with anything.

问题:

如果用户更改配色方案在他们的Windows桌面,它的调整在我的.NET应用程序的一些功能。

If a user changes the Color Scheme on their Windows Desktop, it tweaks some functionality in my .net application.

有什么办法,我勉强我的应用程序中使用Windows经典主题,不管是什么用户的主题被设定为?

Is there any way for me to FORCE my application to use the Windows Classic Theme, regardless of what the user's theme has been set as?

谢谢!

推荐答案

如果您正在使用Visual Studio:当你去你的应用程序项目的属性,你会发现一个复选框的启用XP视觉样式的。如果禁用,任何主题化应适用于您的应用程序。我认为这等同于取消注释$ C $的线c用户nobugz提到的。

If you are using Visual Studio: when you go to your application project's properties, you will find a checkbox Enable XP Visual Styles. If you disable that, no theming should be applied to your application. I assume this is equivalent to uncommenting the line of code that user nobugz mentioned.

这篇关于强制Windows经典主题的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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