public static bool SelectFiles( List<FileInfo> files )
{
bool success = false;
var dlg = new OpenFileDialog();
dlg.Multiselect = true;
if (DialogResult.OK == dlg.ShowDialog())
{
foreach (string name in dlg.FileNames)
files.Add( new FileInfo( name ) );
success = true;
}
return success;
}