From bad54b3d4bcf3548d50023e7f155b20c50890a84 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Mon, 10 Dec 2018 21:33:14 -0600 Subject: [PATCH] Remove Settings class --- DS4Windows/DS4Windows.csproj | 10 +-------- DS4Windows/Properties/Settings.Designer.cs | 26 ---------------------- DS4Windows/Properties/Settings.settings | 7 ------ DS4Windows/Settings.cs | 2 +- 4 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 DS4Windows/Properties/Settings.Designer.cs delete mode 100644 DS4Windows/Properties/Settings.settings diff --git a/DS4Windows/DS4Windows.csproj b/DS4Windows/DS4Windows.csproj index b86cc0c..207e232 100644 --- a/DS4Windows/DS4Windows.csproj +++ b/DS4Windows/DS4Windows.csproj @@ -230,6 +230,7 @@ + DS4Form.cs Designer @@ -1070,20 +1071,11 @@ - - SettingsSingleFileGenerator - Settings.Designer.cs - True True Resources.resx - - True - Settings.settings - True - diff --git a/DS4Windows/Properties/Settings.Designer.cs b/DS4Windows/Properties/Settings.Designer.cs deleted file mode 100644 index 8249a9b..0000000 --- a/DS4Windows/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 DS4Windows.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.7.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; - } - } - } -} diff --git a/DS4Windows/Properties/Settings.settings b/DS4Windows/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/DS4Windows/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/DS4Windows/Settings.cs b/DS4Windows/Settings.cs index ac0570e..f2827e0 100644 --- a/DS4Windows/Settings.cs +++ b/DS4Windows/Settings.cs @@ -6,7 +6,7 @@ // The PropertyChanged event is raised after a setting's value is changed. // The SettingsLoaded event is raised after the setting values are loaded. // The SettingsSaving event is raised before the setting values are saved. - internal sealed partial class Settings { + public sealed partial class Settings { public Settings() { // // To add event handlers for saving and changing settings, uncomment the lines below: