.net 2005 - win form - manifest - win xp style
-
Hi, I am using .net 2.0 windows forms under windows xp pro. Created a file called: MA.exe.manifest The solution is MA.sln This manifest file is in the same path as MA.sln on the C drive where I do the development. For a particular button property in the form I have set the flatstyle property to system rather than standard. How can I enable the Windows XP styles? I.e. a button control to appear as the windows xp style rather than the present standard. This is the content of the manifest file: Your application description here.
-
Hi, I am using .net 2.0 windows forms under windows xp pro. Created a file called: MA.exe.manifest The solution is MA.sln This manifest file is in the same path as MA.sln on the C drive where I do the development. For a particular button property in the form I have set the flatstyle property to system rather than standard. How can I enable the Windows XP styles? I.e. a button control to appear as the windows xp style rather than the present standard. This is the content of the manifest file: Your application description here.
I think this should be done programatically. VS 2005 adds these lines in Main() automatically when creating WinForms application: Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);
-
I think this should be done programatically. VS 2005 adds these lines in Main() automatically when creating WinForms application: Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);