Exemple #1
0
 static void Main(string[] args)
 {
     CommandLineArguments commandLineArguments = new CommandLineArguments(args);
     if (!commandLineArguments.ConsoleExit)
     {
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         SingleInstanceController controller = new SingleInstanceController();
         controller.Run(args);
     }
 }
Exemple #2
0
        static void Main(string[] args)
        {
            CommandArguments commandLineArguments = new CommandArguments(args);

            if (!commandLineArguments.ConsoleExit)
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                SingleInstanceController controller = new SingleInstanceController();
                controller.Run(args);
            }
        }