diff --git a/src/client/spark/NMSheets/Outside/tc2/GUI/FormConfig.cs b/src/client/spark/NMSheets/Outside/tc2/GUI/FormConfig.cs
deleted file mode 100644
index ab1e793b6..000000000
--- a/src/client/spark/NMSheets/Outside/tc2/GUI/FormConfig.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using System;
-using System.Runtime.Serialization;
-
-using BCG;
-using BCG.Utilities;
-
-namespace BCG
-{
- [ProtoBuf.ProtoContract(Name="FormConfig")]
- [Serializable]
- public class FormConfig
- {
- public FormConfig() { width = -1; }
-
- [ProtoBuf.ProtoMember(2)]
- public int left { get; set; }
-
- [ProtoBuf.ProtoMember(4)]
- public int top { get; set; }
-
- [ProtoBuf.ProtoMember(6)]
- public int height { get; set; }
-
- [ProtoBuf.ProtoMember(8)]
- public int width { get; set; }
-
- public FormConfig(int left, int top, int height, int width)
- {this.left = left;this.top = top; this.height= height; this.width= width;}
- }
-
- [ProtoBuf.ProtoContract(Name="FormLocationWidthAndHeights")]
- public class FormLocationWidthAndHeights
- {
- [ProtoBuf.ProtoMember(2)]
- public FormConfig[] form_location_width_and_heights { get; set; }
- }
-}
diff --git a/src/client/spark/NMSheets/Outside/tc2/GUI/SpreadPositionGUI.cs b/src/client/spark/NMSheets/Outside/tc2/GUI/SpreadPositionGUI.cs
deleted file mode 100644
index 8cd08c43b..000000000
--- a/src/client/spark/NMSheets/Outside/tc2/GUI/SpreadPositionGUI.cs
+++ /dev/null
@@ -1,188 +0,0 @@
-using System;
-using System.Collections;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Windows.Forms;
-
-namespace BCG
-{
- ///
- /// This class encapsulates the size part of the spread
- /// leg. This includes +/-, size, up arrow, down arrow
- /// 3/7/12 : Fixed the bug where enterring the size through
- /// the numpad would always result in a +ve size (in myEdit)
- ///
- public class SpreadPositionGUI : System.Windows.Forms.UserControl
- {
- private BCG.ValueEntryGUI myValueEntryGUI;
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.Container components = null;
-
-
- public Control layoutContainer;
-
- public GUIChange onPositionChange;
- public double position
- {
- get
- {
- if (myValueEntryGUI != null && !DesignMode)
- return (double) myValueEntryGUI.currentValue;
- else
- return 0;
- }
- set
- {
- if (myValueEntryGUI != null && !DesignMode )
- {
- myValueEntryGUI.currentValue = value;
- myValueEntryGUI.flip = value < 0;
- }
- }
- }
-
- public Size minSize
- {get{return myValueEntryGUI.minSize;}}
-
- public ValueEntryGUIConfig config
- {
- set{myValueEntryGUI.config = value;}
- get{return myValueEntryGUI.config;}
- }
-
- private Guid myGuid = Guid.NewGuid();
- public SpreadPositionGUI()
- {
- // This call is required by the Windows.Forms Form Designer.
- InitializeComponent();
-
- myValueEntryGUI.currentValue = 0;
- myValueEntryGUI.onValueDown += new GUIChange(myDown);
- myValueEntryGUI.onValueUp += new GUIChange(myUp);
- myValueEntryGUI.onValueEdit += new GUIChange(myEdit);
- myValueEntryGUI.onValueFlip += new GUIChange(myFlip);
- }
-
-
- public override int GetHashCode()
- {
- return myGuid.GetHashCode();
- }
-
- public override bool Equals(object obj)
- {
- SpreadPositionGUI rhs = obj as SpreadPositionGUI;
- if(rhs == null)
- return false;
- else
- {
- return this.myGuid.Equals(rhs.myGuid);
- }
- }
-
- ///
- /// Clean up any resources being used.
- ///
- protected override void Dispose( bool disposing )
- {
- if( disposing )
- {
- if(components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
-
- void myUp(object sender, object value )
- {myMove(sender,value,1);}
-
- void myDown(object sender, object value )
- {myMove(sender,value,-1);}
-
- void myMove(object sender, object value, int move)
- {
- ValueEntryGUI g = (ValueEntryGUI) sender;
-
- double v = (double) g.currentValue;
-
- if (v < 0)
- move *= -1;
-
- v += move;
-
- if (v != 0)
- {
- g.currentValue = v;
- g.flip = v < 0;
- if (onPositionChange != null)
- onPositionChange(this,v);
- }
- }
-
- void myEdit(object sender, object value)
- {
- using (TCNumPad tcNumPad = new TCNumPad("Size"))
- {
- tcNumPad.Left = Cursor.Position.X;
- tcNumPad.Top = Cursor.Position.Y;
-
- if (tcNumPad.ShowDialog() == DialogResult.OK)
- {
- ValueEntryGUI g = (ValueEntryGUI)sender;
- /// TCNumPad does not have the +/- sign, this
- /// ensures the sign from the spread is carried
- /// over after qty manipulations via the num pad
- g.currentValue = ((double)g.currentValue < 0 ? -1.0 : 1.0) * tcNumPad.asNumber;
- g.flip = (double)g.currentValue < 0;
- if (onPositionChange != null)
- onPositionChange(this, (double)g.currentValue);
- }
- }
- }
-
- void myFlip(object sender, object value )
- {
- ValueEntryGUI g = (ValueEntryGUI) sender;
- g.flip = !g.flip;
- g.currentValue = - (double) g.currentValue;
- if (onPositionChange != null)
- onPositionChange(this,(double) g.currentValue);
- }
-
- #region Component Designer generated code
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.myValueEntryGUI = new BCG.ValueEntryGUI();
- this.SuspendLayout();
- //
- // myValueEntryGUI
- //
- this.myValueEntryGUI.config = null;
- this.myValueEntryGUI.currentValue = "0";
- this.myValueEntryGUI.Dock = System.Windows.Forms.DockStyle.Fill;
- this.myValueEntryGUI.flip = false;
- this.myValueEntryGUI.Location = new System.Drawing.Point(0, 0);
- this.myValueEntryGUI.Name = "myValueEntryGUI";
- this.myValueEntryGUI.Size = new System.Drawing.Size(56, 16);
- this.myValueEntryGUI.TabIndex = 0;
- //
- // SpreadPositionGUI
- //
- this.Controls.Add(this.myValueEntryGUI);
- this.Name = "SpreadPositionGUI";
- this.Size = new System.Drawing.Size(56, 16);
- this.ResumeLayout(false);
-
- }
- #endregion
- }
-}
diff --git a/src/client/spark/NMSheets/Outside/tc2/GUI/SpreadPositionGUI.resx b/src/client/spark/NMSheets/Outside/tc2/GUI/SpreadPositionGUI.resx
deleted file mode 100644
index e00f98156..000000000
--- a/src/client/spark/NMSheets/Outside/tc2/GUI/SpreadPositionGUI.resx
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 1.3
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- False
-
-
- Private
-
-
- Private
-
-
- False
-
-
- False
-
-
- True
-
-
- True
-
-
- 80
-
-
- (Default)
-
-
- False
-
-
- Private
-
-
- SpreadPositionGUI
-
-
- 8, 8
-
-
\ No newline at end of file