public SendFilesWindow(IList<Computer> selectedItems) { Computers = new TargetComputerManager(selectedItems.Select(c => new TargetComputer(c))); BindingOperations.EnableCollectionSynchronization(Computers, computersLock); InitializeComponent(); ProgressTable.ItemsSource = Computers; FileNamesList.ItemsSource = FileNames; }
public SendFilesWindow(IList <Computer> selectedItems) { Computers = new TargetComputerManager(selectedItems.Select(c => new TargetComputer(c))); BindingOperations.EnableCollectionSynchronization(Computers, computersLock); InitializeComponent(); ProgressTable.ItemsSource = Computers; FileNamesList.ItemsSource = FileNames; }