Example #1
0
        public static string DialogFileFilterFromList(IEnumerable <FileFilterItem> prelist)
        {
            string result = string.Empty;

            using (DialogFileFilterBuilder dffb = new DialogFileFilterBuilder(prelist))
                result = dffb.ToFileFilterString();
            return(result);
        }
Example #2
0
        public static string DialogFileFilterFromList(IDictionary <string, string[]> prelist)
        {
            string result = string.Empty;

            using (DialogFileFilterBuilder dffb = new DialogFileFilterBuilder(prelist))
                result = dffb.ToFileFilterString();
            return(result);
        }