From 3b64b9b433c471ab6b5546904d68fa5bab5f82a4 Mon Sep 17 00:00:00 2001 From: realybin <172874642+realybin@users.noreply.github.com> Date: Thu, 24 Oct 2024 08:50:48 +0800 Subject: [PATCH] feat: store settings --- SketchNow/App.config | 21 ++++++++ SketchNow/Properties/Settings.Designer.cs | 62 +++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 SketchNow/App.config create mode 100644 SketchNow/Properties/Settings.Designer.cs diff --git a/SketchNow/App.config b/SketchNow/App.config new file mode 100644 index 0000000..a1eab41 --- /dev/null +++ b/SketchNow/App.config @@ -0,0 +1,21 @@ + + + + +
+ + + + + + True + + + False + + + True + + + + \ No newline at end of file diff --git a/SketchNow/Properties/Settings.Designer.cs b/SketchNow/Properties/Settings.Designer.cs new file mode 100644 index 0000000..70d7f97 --- /dev/null +++ b/SketchNow/Properties/Settings.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SketchNow.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.12.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool FitToCurve { + get { + return ((bool)(this["FitToCurve"])); + } + set { + this["FitToCurve"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool IgnorePressure { + get { + return ((bool)(this["IgnorePressure"])); + } + set { + this["IgnorePressure"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool EraseByStroke { + get { + return ((bool)(this["EraseByStroke"])); + } + set { + this["EraseByStroke"] = value; + } + } + } +}