Renamed Forms
This commit is contained in:
@@ -55,26 +55,26 @@
|
|||||||
<Compile Include="BinLayoutView.cs">
|
<Compile Include="BinLayoutView.cs">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Form1.cs">
|
<Compile Include="MainForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Form1.Designer.cs">
|
<Compile Include="MainForm.Designer.cs">
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Form2.cs">
|
<Compile Include="ResultsForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Form2.Designer.cs">
|
<Compile Include="ResultsForm.Designer.cs">
|
||||||
<DependentUpon>Form2.cs</DependentUpon>
|
<DependentUpon>ResultsForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="UIItem.cs" />
|
<Compile Include="UIItem.cs" />
|
||||||
<EmbeddedResource Include="Form1.resx">
|
<EmbeddedResource Include="MainForm.resx">
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Form2.resx">
|
<EmbeddedResource Include="ResultsForm.resx">
|
||||||
<DependentUpon>Form2.cs</DependentUpon>
|
<DependentUpon>ResultsForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
namespace CutToLength
|
namespace CutToLength
|
||||||
{
|
{
|
||||||
partial class Form1
|
partial class MainForm
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
@@ -9,11 +9,11 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace CutToLength
|
namespace CutToLength
|
||||||
{
|
{
|
||||||
public partial class Form1 : Form
|
public partial class MainForm : Form
|
||||||
{
|
{
|
||||||
private List<UIItem> items;
|
private List<UIItem> items;
|
||||||
|
|
||||||
public Form1()
|
public MainForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ namespace CutToLength
|
|||||||
{
|
{
|
||||||
var bins = GetResults();
|
var bins = GetResults();
|
||||||
|
|
||||||
var form = new Form2();
|
var form = new ResultsForm();
|
||||||
form.Bins = bins;
|
form.Bins = bins;
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ namespace CutToLength
|
|||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
Application.Run(new Form1());
|
Application.Run(new MainForm());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
namespace CutToLength
|
namespace CutToLength
|
||||||
{
|
{
|
||||||
partial class Form2
|
partial class ResultsForm
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
@@ -10,9 +10,9 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace CutToLength
|
namespace CutToLength
|
||||||
{
|
{
|
||||||
public partial class Form2 : Form
|
public partial class ResultsForm : Form
|
||||||
{
|
{
|
||||||
public Form2()
|
public ResultsForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user