Beispiel #1
0
 public void Disconnect()
 {
     if (_handle == null)
     {
         _client.Stop();
     }
 }
Beispiel #2
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);
        }
 private void terminateVM()
 {
     _client.Stop();
 }
Beispiel #4
0
 static void exit()
 {
     Client.Stop();
     System.Threading.Thread.Sleep(300);
 }