Ejemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     var logger = new ExceptionLogger();
     logger.AddLogger(new EventLogLogger());
     Application.Run(new FrmReplacementMenu());
 }
Ejemplo n.º 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     ExceptionLogger logger = new ExceptionLogger();
     logger.AddLogger(new WindowLogger());
     Application.Run(new Form1());
 }
Ejemplo n.º 3
0
 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());
 }