comparison 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
comparison
equal deleted inserted replaced
17:475d3cdb75f4 18:b1588ef12a2a
585 [STAThread] 585 [STAThread]
586 static void Main(string[] args) 586 static void Main(string[] args)
587 { 587 {
588 try 588 try
589 { 589 {
590 ///TODO: Work out how to auto-embed the Manifest file so that we can have visual styles without having a .manifest file floating around 590 Application.EnableVisualStyles();
591 //and without using the line below, which causes the toolbar buttons to lose their icons
592 //Application.EnableVisualStyles();
593 Application.Run(new FrmMain(args)); 591 Application.Run(new FrmMain(args));
594 } 592 }
595 catch(Exception ex) 593 catch(Exception ex)
596 { 594 {
597 LogManager.GetLogger(typeof(FrmMain)).Fatal(ex); 595 LogManager.GetLogger(typeof(FrmMain)).Fatal(ex);