Example #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);
     }
 }
Example #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);
            }
        }