A manifest file sample.
今天去新华书店溜达,发现了Simon Robinson写的《Advanced .NET Programming》一书,里面提到了XP风格界面的问题。
记录一下,也许对于博客园这已经不是什么新鲜事了。
其实就是一个manifest文件。
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
name="Microsoft.Winweb.FormTest"
此处要填exe的名字,然后用VS打开exe文件,导入manifest文件,资源类型设置为RT_MANIFEST,ID设置为1,保存就可以了。
注意:控件的FlatStyle属性的值要设置成System。
以上是我的无废话精简版,更详细的参考请看这里,好像这里也是从Advanced .NET Programming中抄的
![](/Emoticons/QQ/22.gif)