# HG changeset patch # User IBBoard # Date 1245247752 0 # Node ID b1588ef12a2afbe0c6e89f6dbec97861276343aa # Parent 475d3cdb75f431948f188322a9c9b498b3147c11 Re #88: Complete initial WinForms UI * Remove Manifest file and use Application.EnableVisualStyles() call as it seems to work okay in .Net 2 diff -r 475d3cdb75f4 -r b1588ef12a2a FrmMain.cs --- 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) diff -r 475d3cdb75f4 -r b1588ef12a2a WarFoundry.exe.manifest --- 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 @@ - - - -.NET control deployment tool - - - - - - \ No newline at end of file