summaryrefslogtreecommitdiff
path: root/grapher/Models/Fields/Field.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-01 02:39:09 -0700
committerJacob Palecki <[email protected]>2020-09-01 02:39:09 -0700
commit4aa2f3ed741dcbd39233e125a34cac8163267d8d (patch)
tree59399d8d793e7aa35c3a79fe369d19f7c3935ae4 /grapher/Models/Fields/Field.cs
parentAdd constants class and separate classes into regions (diff)
downloadrawaccel-4aa2f3ed741dcbd39233e125a34cac8163267d8d.tar.xz
rawaccel-4aa2f3ed741dcbd39233e125a34cac8163267d8d.zip
Move constants to central class
Diffstat (limited to 'grapher/Models/Fields/Field.cs')
-rw-r--r--grapher/Models/Fields/Field.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/grapher/Models/Fields/Field.cs b/grapher/Models/Fields/Field.cs
index 03693ed..7651a37 100644
--- a/grapher/Models/Fields/Field.cs
+++ b/grapher/Models/Fields/Field.cs
@@ -10,12 +10,6 @@ namespace grapher
{
public class Field
{
- #region Constants
-
- public const string DefaultFormatString = "0.#########";
-
- #endregion Constants
-
#region Enumerations
public enum FieldState
@@ -39,7 +33,7 @@ namespace grapher
DefaultData = defaultData;
State = FieldState.Undefined;
ContainingForm = containingForm;
- FormatString = DefaultFormatString;
+ FormatString = Constants.DefaultFieldFormatString;
box.KeyDown += new System.Windows.Forms.KeyEventHandler(KeyDown);
box.Leave += new System.EventHandler(FocusLeave);