コード例 #1
0
ファイル: Program.cs プロジェクト: mattmhersh/ContactLens
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     var logger = new ExceptionLogger();
     logger.AddLogger(new EventLogLogger());
     Application.Run(new FrmReplacementMenu());
 }
コード例 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     ExceptionLogger logger = new ExceptionLogger();
     logger.AddLogger(new WindowLogger());
     Application.Run(new Form1());
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: acidburn974/CorthezzWoWBot
 static void Main()
 {
     ExceptionLogger logger = new ExceptionLogger();
     logger.AddLogger(new TextFileLogger());
     AppDomain.CurrentDomain.ProcessExit += new EventHandler(OnProcessExit);
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new mainForm());
 }