public TestAgent(ViewProxy commands) { _viewProxy = commands; Thread thread = new Thread(WaitCommand); thread.Start(); }