Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/Controls/Helpers.cs')
-rw-r--r--UVtools.WPF/Controls/Helpers.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/UVtools.WPF/Controls/Helpers.cs b/UVtools.WPF/Controls/Helpers.cs
index 28ec99f..ca66103 100644
--- a/UVtools.WPF/Controls/Helpers.cs
+++ b/UVtools.WPF/Controls/Helpers.cs
@@ -65,6 +65,19 @@ namespace UVtools.WPF.Controls
}
};
+ public static readonly List<FileDialogFilter> ScriptsFileFilter = new()
+ {
+ new FileDialogFilter
+ {
+ Name = "Script Files",
+ Extensions = new List<string>
+ {
+ "csx",
+ "cs",
+ }
+ }
+ };
+
public static List<FileDialogFilter> ToAvaloniaFileFilter(List<KeyValuePair<string, List<string>>> data)
{
var result = new List<FileDialogFilter>(data.Capacity);