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.cs43
1 files changed, 41 insertions, 2 deletions
diff --git a/UVtools.WPF/Controls/Helpers.cs b/UVtools.WPF/Controls/Helpers.cs
index 61046f2..ed5d288 100644
--- a/UVtools.WPF/Controls/Helpers.cs
+++ b/UVtools.WPF/Controls/Helpers.cs
@@ -24,9 +24,48 @@ namespace UVtools.WPF.Controls
"bmp",
"jpeg",
"jpg",
- "gif"
+ "tif",
+ "tiff",
}
- }
+ },
+ };
+
+ public static readonly List<FileDialogFilter> ImagesFullFileFilter = new()
+ {
+ new()
+ {
+ Name = "PNG Files",
+ Extensions = new List<string>
+ {
+ "png"
+ }
+ },
+ new()
+ {
+ Name = "JPG Files",
+ Extensions = new List<string>
+ {
+ "jpg",
+ "jpeg"
+ }
+ },
+ new()
+ {
+ Name = "BMP Files",
+ Extensions = new List<string>
+ {
+ "bmp",
+ }
+ },
+ new()
+ {
+ Name = "TIF Files",
+ Extensions = new List<string>
+ {
+ "tif",
+ "tiff",
+ }
+ },
};
public static readonly List<FileDialogFilter> PngFileFilter = new()