From 9a506f235ce7903e345f2deecccdfd91bbc88304 Mon Sep 17 00:00:00 2001 From: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com> Date: Sat, 1 May 2021 20:33:57 +1000 Subject: remove Settings.Settings based config, migrate defintitions to constants --- grapher/Properties/Settings.Designer.cs | 60 --------------------------------- grapher/Properties/Settings.settings | 20 ++--------- 2 files changed, 2 insertions(+), 78 deletions(-) (limited to 'grapher/Properties') diff --git a/grapher/Properties/Settings.Designer.cs b/grapher/Properties/Settings.Designer.cs index 076bd06..de55113 100644 --- a/grapher/Properties/Settings.Designer.cs +++ b/grapher/Properties/Settings.Designer.cs @@ -22,65 +22,5 @@ namespace grapher.Properties { return defaultInstance; } } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("15")] - public float Chart_Font_Size { - get { - return ((float)(this["Chart_Font_Size"])); - } - set { - this["Chart_Font_Size"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("12")] - public float Chart_Axis_Font_Size { - get { - return ((float)(this["Chart_Axis_Font_Size"])); - } - set { - this["Chart_Axis_Font_Size"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("3")] - public int Chart_Series_Line_Width { - get { - return ((int)(this["Chart_Series_Line_Width"])); - } - set { - this["Chart_Series_Line_Width"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("Green")] - public global::System.Drawing.Color Chart_BG_Colour { - get { - return ((global::System.Drawing.Color)(this["Chart_BG_Colour"])); - } - set { - this["Chart_BG_Colour"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("White")] - public global::System.Drawing.Color Chart_FG_Colour { - get { - return ((global::System.Drawing.Color)(this["Chart_FG_Colour"])); - } - set { - this["Chart_FG_Colour"] = value; - } - } } } diff --git a/grapher/Properties/Settings.settings b/grapher/Properties/Settings.settings index 6fe821b..8e615f2 100644 --- a/grapher/Properties/Settings.settings +++ b/grapher/Properties/Settings.settings @@ -1,21 +1,5 @@  - + - - - 15 - - - 12 - - - 3 - - - Green - - - White - - + \ No newline at end of file -- cgit v1.2.3