diff options
| author | Matthew Strasiotto <[email protected]> | 2021-05-01 20:49:11 +1000 |
|---|---|---|
| committer | Matthew Strasiotto <[email protected]> | 2021-05-01 20:49:11 +1000 |
| commit | 29647393a6cc898403e9ece9f4856e8ede819937 (patch) | |
| tree | 31659bc5bb4509c822ad7a3ee980cec4d4dc601e | |
| parent | remove Settings.Settings based config, migrate defintitions to constants (diff) | |
| download | rawaccel-29647393a6cc898403e9ece9f4856e8ede819937.tar.xz rawaccel-29647393a6cc898403e9ece9f4856e8ede819937.zip | |
clean up from adding settings
| -rw-r--r-- | grapher/App.config | 2 | ||||
| -rw-r--r-- | grapher/Properties/Settings.Designer.cs | 22 | ||||
| -rw-r--r-- | grapher/Properties/Settings.settings | 6 |
3 files changed, 17 insertions, 13 deletions
diff --git a/grapher/App.config b/grapher/App.config index ebe5140..56efbc7 100644 --- a/grapher/App.config +++ b/grapher/App.config @@ -1,7 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> <configuration> - <configSections> - </configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> </startup> diff --git a/grapher/Properties/Settings.Designer.cs b/grapher/Properties/Settings.Designer.cs index de55113..d305209 100644 --- a/grapher/Properties/Settings.Designer.cs +++ b/grapher/Properties/Settings.Designer.cs @@ -8,17 +8,21 @@ // </auto-generated> //------------------------------------------------------------------------------ -namespace grapher.Properties { - - +namespace grapher.Properties +{ + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.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 { + + public static Settings Default + { + get + { return defaultInstance; } } diff --git a/grapher/Properties/Settings.settings b/grapher/Properties/Settings.settings index 8e615f2..3964565 100644 --- a/grapher/Properties/Settings.settings +++ b/grapher/Properties/Settings.settings @@ -1,5 +1,7 @@ <?xml version='1.0' encoding='utf-8'?> <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> - <Profiles /> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> <Settings /> -</SettingsFile>
\ No newline at end of file +</SettingsFile> |