Example #1
0
 static public void SetFileFilters(this FileDialog item, params string[] pairs)
 {
     item.Filters.Clear();
     item.AddFileFilters(pairs);
 }
Example #2
0
 static public void AddFileFilters(this FileDialog item, params string[] pairs)
 {
     item.AddFileFilters(pairs.PairStrict());
 }
Example #3
0
 static public void SetFileFilters(this FileDialog item, IEnumerable <Tuple <string, string> > pairs)
 {
     item.Filters.Clear();
     item.AddFileFilters(pairs);
 }
Example #4
0
 static public void AddFileFilters(this FileDialog item, params Tuple <string, string>[] pairs)
 {
     item.AddFileFilters((IEnumerable <Tuple <string, string> >)pairs);
 }