Visual Studio is displayed in the XP style of the control during design

xiaoxiao2021-03-06  64

We all know that there are two ways to use the application to display the XP style: 1. Use the .mainfest file with the app, file content can be found in the MSDN; Second, add Application in the MAIN method in the version after Vistual Studio 2003. EnablevistualStyles (), in ensuring the above two premise, set the flashstyle to System so that the XP style is displayed in the current application in the runtime application.

However, we can't see the XP style of the control in the design environment. Today, I found a method, copy the .manifest file to the VS installation directory, renamed DEVENV.EXE.MANIFEST, restart VS, you will find it in the form The control in the design environment is displayed in XP style, no longer running the program.

At the same time, you will also find that the controls on the VS also display in XP style, such as adding a new item dialog.

The control is displayed in XP style in the VS 2005.

Design

Add a reference dialog

Email:

nnlyx@sohu.com

转载请注明原文地址:https://www.9cbs.com/read-86598.html

New Post(0)