Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
changeset 18:b1588ef12a2a
Re #88: Complete initial WinForms UI
* Remove Manifest file and use Application.EnableVisualStyles() call as it seems to work okay in .Net 2
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 17 Jun 2009 14:09:12 +0000 |
parents | 475d3cdb75f4 |
children | ad2fe107d3e7 |
files | FrmMain.cs WarFoundry.exe.manifest |
diffstat | 2 files changed, 1 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmMain.cs Wed Jun 17 14:05:31 2009 +0000 +++ b/FrmMain.cs Wed Jun 17 14:09:12 2009 +0000 @@ -587,9 +587,7 @@ { try { - ///TODO: Work out how to auto-embed the Manifest file so that we can have visual styles without having a .manifest file floating around - //and without using the line below, which causes the toolbar buttons to lose their icons - //Application.EnableVisualStyles(); + Application.EnableVisualStyles(); Application.Run(new FrmMain(args)); } catch(Exception ex)
--- a/WarFoundry.exe.manifest Wed Jun 17 14:05:31 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -<?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" - name="Microsoft.Winweb.WarFoundry" - type="win32" -/> -<description>.NET control deployment tool</description> -<dependency> - <dependentAssembly> - <assemblyIdentity - type="win32" - name="Microsoft.Windows.Common-Controls" - version="6.0.0.0" - processorArchitecture="X86" - publicKeyToken="6595b64144ccf1df" - language="*" - /> - </dependentAssembly> -</dependency> -</assembly> \ No newline at end of file