public IEnumerable<TestDepthFrame> LoadMany()
{
using (var dialog = new System.Windows.Forms.OpenFileDialog())
{
dialog.Filter = this.fileDialogFilter;
dialog.Multiselect = true;
if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
return dialog.FileNames.Select(f => this.Load(f));
}
}
return new List<TestDepthFrame>();
}
}