Cleanup
This commit is contained in:
@@ -5,7 +5,7 @@ namespace CutList.Forms
|
|||||||
{
|
{
|
||||||
public static class DataGridViewExtensions
|
public static class DataGridViewExtensions
|
||||||
{
|
{
|
||||||
static readonly StringFormat CenterVerticallyFormat = new StringFormat
|
private static readonly StringFormat CenterVerticallyFormat = new StringFormat
|
||||||
{
|
{
|
||||||
Alignment = StringAlignment.Far,
|
Alignment = StringAlignment.Far,
|
||||||
LineAlignment = StringAlignment.Center
|
LineAlignment = StringAlignment.Center
|
||||||
@@ -25,7 +25,6 @@ namespace CutList.Forms
|
|||||||
headerBounds,
|
headerBounds,
|
||||||
CenterVerticallyFormat);
|
CenterVerticallyFormat);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,11 +2,9 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using SawCut;
|
using SawCut;
|
||||||
using SawCut.Nesting;
|
using SawCut.Nesting;
|
||||||
using SimpleExpressionEvaluator;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -278,7 +276,6 @@ namespace CutList.Forms
|
|||||||
|
|
||||||
private void dataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
private void dataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void dataGridView2_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
private void dataGridView2_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
||||||
|
|||||||
@@ -1,14 +1,9 @@
|
|||||||
using SawCut;
|
using SawCut;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CutList.Forms
|
namespace CutList.Forms
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace CutList
|
namespace CutList
|
||||||
{
|
{
|
||||||
static class Helper
|
internal static class Helper
|
||||||
{
|
{
|
||||||
public static double GetLengthInches(TextBox tb)
|
public static double GetLengthInches(TextBox tb)
|
||||||
{
|
{
|
||||||
@@ -20,7 +20,6 @@ namespace CutList
|
|||||||
var x = ArchUnits.ParseToInches(tb.Text);
|
var x = ArchUnits.ParseToInches(tb.Text);
|
||||||
tb.ForeColor = SystemColors.WindowText;
|
tb.ForeColor = SystemColors.WindowText;
|
||||||
return x;
|
return x;
|
||||||
|
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,18 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CutList
|
namespace CutList
|
||||||
{
|
{
|
||||||
static class Program
|
internal static class Program
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The main entry point for the application.
|
/// The main entry point for the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main()
|
private static void Main()
|
||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using SawCut;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace SawCut
|
namespace SawCut
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Text;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace SawCut
|
namespace SawCut
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace SawCut.Nesting
|
namespace SawCut.Nesting
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
|
|||||||
Reference in New Issue
Block a user