public JobManager()
 {
     InitializeComponent();
     jobsToCheck = false;
     incoming    = new Queue <AutomationMessage>();
     jobs        = new Dictionary <Job, JobStatus>();
     vmMap       = new Dictionary <string, VirtualMachine>();
     lockedVMs   = new List <string>();
     mainLoop    = new Thread(new ThreadStart(ReceiveLoop));
     jobLoop     = new Thread(new ThreadStart(JobWorkLoop));
     dropManager = new DropFileManager();
     vmHost      = new VSphereHostConnection();
     //vmMap[OperatingSystemConfiguration.WinVista_32] = new VirtualMachine("DataCenter/vm/HammerVistax86", "AutoVistax86");
 }
 public JobManager()
 {
     InitializeComponent();
     jobsToCheck = false;
     incoming = new Queue<AutomationMessage>();
     jobs = new Dictionary<Job, JobStatus>();
     vmMap = new Dictionary<string, VirtualMachine>();
     lockedVMs = new List<string>();
     mainLoop = new Thread(new ThreadStart(ReceiveLoop));
     jobLoop = new Thread(new ThreadStart(JobWorkLoop));
     dropManager = new DropFileManager();
     vmHost = new VSphereHostConnection();
     //vmMap[OperatingSystemConfiguration.WinVista_32] = new VirtualMachine("DataCenter/vm/HammerVistax86", "AutoVistax86");
 }