XP看按钮等 [英] XP look on buttons etc

查看:56
本文介绍了XP看按钮等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




出于某种原因,我的应用已经停止使用XP风格显示按钮和其他此类

控件。

他们都恢复了标准样式按钮。


我将buttons.flatstyle设置为= system,但它们与
$相同b $ b标准。


我的显示属性中设置了Windows XP样式(

桌面的属性),并且颜色方案设置为银色,以及其他

应用程序中的所有按钮看起来都应该如此。


如何让我的按钮恢复到XP风格。


谢谢

Hi,

For some reason my App has stopped displaying buttons and other such
controls with the XP style.

They have all reverted back to the standard style button.

I have the buttons.flatstyle set to = system, but they are the same as
standard.

I have the Windows XP Style set in my display properties (properties of the
desktop), and the color scheme set to silver, and all the buttons in other
applications look as they should.

How do I get my buttons back to the XP style.

Thanks

推荐答案

" Aussie Rules" <所以***** @ somewhere.com> schrieb:
"Aussie Rules" <so*****@somewhere.com> schrieb:
由于某些原因,我的应用程序已经停止显示按钮和其他类似于XP风格的控件。

它们全部恢复为标准样式按钮。

我把buttons.flatstyle设置为= system,但它们与
标准相同。

我在显示器中设置了Windows XP样式属性(桌面的属性),以及设置为银色的配色方案,以及其他应用程序中的所有按钮看起来都应该如此。
For some reason my App has stopped displaying buttons and other such
controls with the XP style.

They have all reverted back to the standard style button.

I have the buttons.flatstyle set to = system, but they are the same as
standard.

I have the Windows XP Style set in my display properties (properties of
the desktop), and the color scheme set to silver, and all the buttons in
other applications look as they should.




为Windows窗体应用程序启用Windows XP视觉样式

< URL:http://dotnet.mvps.org/dotnet/faqs/?id = xpvisualstyles& lang = en>


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://dotnet.mvps.org/dotnet/faqs/>



Enabling Windows XP Visual Styles for Windows Forms applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=xpvisualstyles&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>





谢谢你。


我创建了一个清单文件描述。我希望我这样做是正确的

我所做的只是添加一个文本文件,将其重命名为projectname.manifest,并且

更改了我粘贴的xml中的详细信息进入清单的网站

文件


令人困惑的是最后一位引用添加

的参考资料的详细信息:


"

1 ..将清单添加到应用程序的资源文件中,如下所示:

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST" YourApp.exe.manifest"

"

我不知道这意味着什么或怎么做。我试图在我的项目中向清单文件添加一个参考

,但它并不是那么喜欢。


谢谢


" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

news:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Hi,

Thanks for this.

I have created a manifest file as described. I hope i did this correct as
all i did was add a text file, rename it to the projectname.manifest, and
changed the details within the xml I pasted from the site into the manifest
file

The bit that is confusing is that last bit that makes reference to adding in
the details to the referneces:

"
1.. Add the manifest to your application''s resource file as follows:
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest"

"
I have no idea what this means or how to do it. I tried to add a reference
to my project to the manifest file, but it didn''t like that very much.

Thanks

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"澳大利亚规则 <所以***** @ somewhere.com> schrieb:
"Aussie Rules" <so*****@somewhere.com> schrieb:
由于某些原因,我的应用程序已经停止显示按钮和其他类似于XP风格的控件。

它们全部恢复为标准样式按钮。

我把buttons.flatstyle设置为= system,但它们与
标准相同。

我在显示器中设置了Windows XP样式属性(桌面的属性),以及设置为银色的配色方案,以及其他应用程序中的所有按钮看起来都应该如此。
For some reason my App has stopped displaying buttons and other such
controls with the XP style.

They have all reverted back to the standard style button.

I have the buttons.flatstyle set to = system, but they are the same as
standard.

I have the Windows XP Style set in my display properties (properties of
the desktop), and the color scheme set to silver, and all the buttons in
other applications look as they should.



启用Windows用于Windows窗体应用程序的XP视觉样式
< URL:http://dotnet.mvps.org/dotnet/faqs/?id = xpvisualstyles& lang = en>

-
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http://dotnet.mvps.org/dotnet/faqs />



Enabling Windows XP Visual Styles for Windows Forms applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=xpvisualstyles&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>



" Aussie Rules" <所以***** @ somewhere.com> schrieb:
"Aussie Rules" <so*****@somewhere.com> schrieb:
我已经按照描述创建了一个清单文件。我希望我这样做是正确的,因为我所做的只是添加一个文本文件,将其重命名为projectname.manifest,并且
将我从网站粘贴的xml中的细节更改为
清单文件
I have created a manifest file as described. I hope i did this correct as
all i did was add a text file, rename it to the projectname.manifest, and
changed the details within the xml I pasted from the site into the
manifest file





-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http:// dotnet。 mvps.org/dotnet/faqs/>



Am I right that you are using .NET 1.0?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


这篇关于XP看按钮等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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