通过vb.net在win7自定义应用程序中查看win8 [英] make look of win8 in win7 custom app by vb.net

查看:96
本文介绍了通过vb.net在win7自定义应用程序中查看win8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在windows8中的vb2012中创建一个新的应用程序,它是一个简单的windos表单应用程序,所以它也可以在win7或xp上运行。

但是当我正在创建一个exe文件并运行它在win7中看起来根据操作系统改变了。

i想要我的应用程序在任何操作系统中保持它的外观。

i在2012年的win8中构建它styal并且我喜欢它的按钮,文本框和焦点styal。

i希望窗户不改变我的设计?

我怎么能做到这一点,PLZ帮助我.......

提前感谢。

hi , i am creating a new app in vb2012 in windows8 , its a simpal windos form app so it can also run on win7 or xp .
but when i am making a exe file and run it in win7 its looks change according to os .
i want that my app hold its look in any os .
i build it in win8 in 2012 styal and i like its button ,textbox and focus styal .
i want that windows not change my design ?
how i can do that , plz help me.......
thanks in advance .

推荐答案

由于您的应用程序在工具箱中使用标准控件,因此他们使用系统提供的内容进行渲染。你所看到的是预期的行为。 Windows不是改变你的设计。



为了做你想做的事情,根据你想要这些控件的Win8的功能,你将拥有大量修改你正在使用的控件的属性和/或完全用自己渲染的自定义编写控件替换它们。这是一项非常多的工作,应该根据您认为通过这样做获得的好处进行评估。



微软以这种方式做到这一点有一个原因这就是为用户提供一致的外观和感觉交叉所有应用程序,以免混淆用户。



真的,如果我想要Windows 8外观和感觉在我的应用程序中,我会购买Windows 8。
Since your app is using standard controls in the toolbox they are using what the system supplies for rendering. What you''re seeing is the expected behavior. Windows is NOT "changing your design".

In order to do what you want and depending on the functionality of Win8 that you want these controls to have, you will have to heavily modify the properties of the controls you''re using and/or replace them entirely with custom written controls that do their own rendering. This is a awful lot of work and should be evaluated against the benefits you think you''ll gain by doing it.

There is a reason Microsoft did it this way and that is to supply the user with a consistant look and feel acrossed all applications so as to not confuse the users.

Really, if I want the Windows 8 look and feel in my app, I''ll buy Windows 8.


这篇关于通过vb.net在win7自定义应用程序中查看win8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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