Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            ApplicationContext applicationContext = new TrayIconApplicationContext();

            // applicationContext.MainForm = new Form1();
            Application.Run(applicationContext);
        }
Exemplo n.º 2
0
 static void Main()
 {
     using (LogProvider.OpenNestedContext("Program_Main"))
     {
         log.Info("Start AlikaPosTrayApp");
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         ApplicationContext applicationContext = new TrayIconApplicationContext();
         // applicationContext.MainForm = new Form1();
         Application.Run(applicationContext);
         log.Info("Terminate AlikaPosTrayApp");
     }
 }