private void btnRun_Click(object sender, RoutedEventArgs e) { List <Device> devices = currentConfig.devices; di = new DeviceInterface(currentConfig.tftpIP, currentConfig.tftpDIR, currentConfig.cmd); di.RunCommands(devices); }