示例#1
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var path = Environment.CurrentDirectory;

            if (args.Length > 0)
            {
                path = Path.GetFullPath(args[0]);
            }

            if (!Directory.Exists(path) && !File.Exists(path))
            {
                Console.WriteLine("Solution/Directory {0} does not exist", path);
                return;
            }

            var form = new RunFeedbackForm(path);

            Logger.SetListener(new FileLogger());
            Client = new ATEClient();
            Client.Start(new StartupParams(path), form);

            Application.Run(form);
            Client.Stop();
            System.Threading.Thread.Sleep(300);
        }
示例#2
0
        static void runWinforms(string localConfig, string path)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var form = new RunFeedbackForm(path);

            run(localConfig, path, form);
            Application.Run(form);
            exit();
        }
示例#3
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var path = Environment.CurrentDirectory;
            if (args.Length > 0)
                path = Path.GetFullPath(args[0]);

            if (!Directory.Exists(path) && !File.Exists(path))
            {
                Console.WriteLine("Solution/Directory {0} does not exist", path);
                return;
            }

            var form = new RunFeedbackForm(path);
            Logger.SetListener(new FileLogger());
            Client = new ATEClient();
            Client.Start(new StartupParams(path), form);
            
            Application.Run(form);
            Client.Stop();
            System.Threading.Thread.Sleep(300);
        }
示例#4
0
        static void runWinforms(string localConfig, string path)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
 
            var form = new RunFeedbackForm(path);
            run(localConfig, path, form);
            Application.Run(form);
            exit();
        }