AddFileNameFilterFromAssociations for a single Association
This commit is contained in:
parent
8c0a110000
commit
d22f198d34
@ -26,6 +26,10 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
public static class ExtensionMethods
|
||||
{
|
||||
public static void AddFileNameFilterFromAssociations(this FileDialog dialog, string title, Association association)
|
||||
{
|
||||
AddFileNameFilterFromAssociations(dialog, title, new Association[] { association });
|
||||
}
|
||||
public static void AddFileNameFilterFromAssociations(this FileDialog dialog, string title, Association[] associations)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user