Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
diff FrmMain.cs @ 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 | 76a15df10fa6 |
children | d84d7244e575 |
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)