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