public void Disconnect() { if (_handle == null) { _client.Stop(); } }
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(); }
static void exit() { Client.Stop(); System.Threading.Thread.Sleep(300); }