關于如何在.net下使用XP Style界面

發表于:2008-05-29來源:作者:點擊數: 標簽:Style界面
關鍵字: .net 下使用 XP Style界面 ------------------------------------------------------------------------------- MSDN中關于這方面的介紹請看文章: http://msdn.microsoft.com/library/index.asp?url=/library/en-us/dnwxp/html/xptheming.asp 文中
關鍵字:.net下使用XP Style界面 -------------------------------------------------------------------------------
 
MSDN中關于這方面的介紹請看文章:
http://msdn.microsoft.com/library/index.asp?url=/library/en-us/dnwxp/html/xptheming.asp

文中對如何實現XP Style的解釋是:
    If you want your application to use visual styles, you must add an application manifest that indicates that ComCtl32.dll version 6 should be used if it is available. Version 6 includes some new controls and new options for other controls, but the biggest change is support for changing the appearance of controls in a window.


要想使用XP Style,最簡單的辦法是創建一個.manifest文件。文件必須與目標程序在同一個文件夾(例如你的工程的\bin文件夾),并且名字必須是
MyApp.exe.manifest,其中紅色部分是你的程序文件名。文件的內容如下:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86"

原文轉自:http://www.anti-gravitydesign.com

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97