Renamed Forms

This commit is contained in:
aj
2018-06-01 21:26:25 -04:00
parent a7b0f90a32
commit 4277b866af
8 changed files with 18 additions and 18 deletions

View File

@@ -55,26 +55,26 @@
<Compile Include="BinLayoutView.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Form1.cs">
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<Compile Include="ResultsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
<Compile Include="ResultsForm.Designer.cs">
<DependentUpon>ResultsForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UIItem.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
<EmbeddedResource Include="ResultsForm.resx">
<DependentUpon>ResultsForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>

View File

@@ -1,6 +1,6 @@
namespace CutToLength
{
partial class Form1
partial class MainForm
{
/// <summary>
/// Required designer variable.

View File

@@ -9,11 +9,11 @@ using System.Windows.Forms;
namespace CutToLength
{
public partial class Form1 : Form
public partial class MainForm : Form
{
private List<UIItem> items;
public Form1()
public MainForm()
{
InitializeComponent();
@@ -51,7 +51,7 @@ namespace CutToLength
{
var bins = GetResults();
var form = new Form2();
var form = new ResultsForm();
form.Bins = bins;
form.ShowDialog();

View File

@@ -16,7 +16,7 @@ namespace CutToLength
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.Run(new MainForm());
}
}
}

View File

@@ -1,6 +1,6 @@
namespace CutToLength
{
partial class Form2
partial class ResultsForm
{
/// <summary>
/// Required designer variable.

View File

@@ -10,9 +10,9 @@ using System.Windows.Forms;
namespace CutToLength
{
public partial class Form2 : Form
public partial class ResultsForm : Form
{
public Form2()
public ResultsForm()
{
InitializeComponent();
}