This commit is contained in:
AJ
2021-10-07 09:12:38 -04:00
parent 5af1daac11
commit fc557d2500
22 changed files with 45 additions and 62 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

View File

@@ -5,7 +5,7 @@ namespace CutList.Forms
{
public static class DataGridViewExtensions
{
static readonly StringFormat CenterVerticallyFormat = new StringFormat
private static readonly StringFormat CenterVerticallyFormat = new StringFormat
{
Alignment = StringAlignment.Far,
LineAlignment = StringAlignment.Center
@@ -25,7 +25,6 @@ namespace CutList.Forms
headerBounds,
CenterVerticallyFormat);
};
}
}
}

View File

@@ -2,11 +2,9 @@
using Newtonsoft.Json;
using SawCut;
using SawCut.Nesting;
using SimpleExpressionEvaluator;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
@@ -278,7 +276,6 @@ namespace CutList.Forms
private void dataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
private void dataGridView2_CellEndEdit(object sender, DataGridViewCellEventArgs e)

View File

@@ -1,14 +1,9 @@
using SawCut;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CutList.Forms

View File

@@ -4,7 +4,7 @@ using System.Windows.Forms;
namespace CutList
{
static class Helper
internal static class Helper
{
public static double GetLengthInches(TextBox tb)
{
@@ -20,7 +20,6 @@ namespace CutList
var x = ArchUnits.ParseToInches(tb.Text);
tb.ForeColor = SystemColors.WindowText;
return x;
}
catch
{

View File

@@ -1,18 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CutList
{
static class Program
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

View File

@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following

View File

@@ -1,7 +1,6 @@
using System;
using System.Text.RegularExpressions;
using System.Text;
using SawCut;
using System.Text.RegularExpressions;
namespace SawCut
{

View File

@@ -1,7 +1,7 @@
using System;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace SawCut
{

View File

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
namespace SawCut.Nesting

View File

@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following