diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-10-15 04:42:23 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-10-15 04:42:23 +0300 |
commit | 5cc29e8d51dfdf7801ad03a58d83aec6f7138b6f (patch) | |
tree | 7c82323040925cae096e7eed67d13df16e93b118 /UVtools.WPF/UserSettings.cs | |
parent | 89f5df35a877b146ad6ba05585a82ad9d39752e8 (diff) |
WPF Calculator
Diffstat (limited to 'UVtools.WPF/UserSettings.cs')
-rw-r--r-- | UVtools.WPF/UserSettings.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/UVtools.WPF/UserSettings.cs b/UVtools.WPF/UserSettings.cs index a5e5ca3..4c1ac0d 100644 --- a/UVtools.WPF/UserSettings.cs +++ b/UVtools.WPF/UserSettings.cs @@ -32,6 +32,7 @@ namespace UVtools.WPF { private bool _startMaximized = true; private bool _checkForUpdatesOnStartup = true; + private bool _loadDemoFileOnStartup = true; private byte _defaultOpenFileExtensionIndex; private string _defaultDirectoryOpenFile; private string _defaultDirectorySaveFile; @@ -54,6 +55,12 @@ namespace UVtools.WPF set => this.RaiseAndSetIfChanged(ref _checkForUpdatesOnStartup, value); } + public bool LoadDemoFileOnStartup + { + get => _loadDemoFileOnStartup; + set => this.RaiseAndSetIfChanged(ref _loadDemoFileOnStartup, value); + } + public byte DefaultOpenFileExtensionIndex { get => _defaultOpenFileExtensionIndex; @@ -670,6 +677,7 @@ namespace UVtools.WPF } #endregion + #region Pixel Editor [Serializable] public sealed class PixelEditorUserSettings : ReactiveObject { @@ -837,7 +845,9 @@ namespace UVtools.WPF return MemberwiseClone() as PixelEditorUserSettings; } } + #endregion + #region Layer Repair [Serializable] public sealed class LayerRepairUserSettings : ReactiveObject { @@ -896,6 +906,7 @@ namespace UVtools.WPF return MemberwiseClone() as LayerRepairUserSettings; } } + #endregion #endregion |