private void AddExistingFileToFolder(PackageFolder folder) { var result = UIServices.OpenMultipleFilesDialog( "Select Files", "All files (*.*)|*.*", out var selectedFiles); if (result) { foreach (var file in selectedFiles) { folder.AddFile(file); } } }
private void AddExistingFileToFolder(PackageFolder folder) { string[] selectedFiles; bool result = UIServices.OpenMultipleFilesDialog( "Select Files", "All files (*.*)|*.*", out selectedFiles); if (result) { foreach (string file in selectedFiles) { folder.AddFile(file, isTempFile: false); } } }