public void FindMachine(string seek) { foreach (MachineList t in tms) { if (t.mName.Equals(seek)) { tm.InstantiateMachine(t); break; } } }