public ICollection<string> SelectFiles(IFilesSelectorOptions aOptions) { OpenFileDialog vDialog = new OpenFileDialog(); vDialog.Filter = aOptions.Filter; vDialog.DefaultExt = aOptions.DefaultExt; vDialog.Multiselect = aOptions.MultiSelect; vDialog.SupportMultiDottedExtensions = true; vDialog.Title = aOptions.Title; if (vDialog.ShowDialog() != DialogResult.OK) return new List<string>(); return vDialog.FileNames; }
public ICollection <string> SelectFiles(IFilesSelectorOptions aOptions) { OpenFileDialog vDialog = new OpenFileDialog(); vDialog.Filter = aOptions.Filter; vDialog.DefaultExt = aOptions.DefaultExt; vDialog.Multiselect = aOptions.MultiSelect; vDialog.SupportMultiDottedExtensions = true; vDialog.Title = aOptions.Title; if (vDialog.ShowDialog() != DialogResult.OK) { return(new List <string>()); } return(vDialog.FileNames); }
public ICollection<string> SelectFiles(IFilesSelectorOptions aOptions) { return BaseSelector.SelectFiles(aOptions); }
public PasFilesSelector(IFilesSelector aBaseSelector) : base() { fBaseSelector = aBaseSelector; fDefaultOptions = CreateDefaultOptions(); }
public ICollection <string> SelectFiles(IFilesSelectorOptions aOptions) { return(BaseSelector.SelectFiles(aOptions)); }
public PasFilesSelector(IFilesSelector aBaseSelector) : base() { fBaseSelector = aBaseSelector; fDefaultOptions = CreateDefaultOptions(); }
public FilesSelector() : base() { fDefaultOptions = CreateDefaultOptions(); }
public FilesSelector() : base() { fDefaultOptions = CreateDefaultOptions(); }