Linked methods for Text Editor

This commit is contained in:
Lukasz Baldyga committed 2020-10-06 16:01:01 +01:00
1 parent d013470678
commit ae627685c5
4 files changed
+9 -9

No files matched your search

@@ -65,11 +65,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Console.cs">
<Compile Include="Text Editor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Console.Designer.cs">
<DependentUpon>Console.cs</DependentUpon>
<Compile Include="Text Editor.Designer.cs">
<DependentUpon>Text Editor.cs</DependentUpon>
</Compile>
<Compile Include="SettingsAndHelperFunctions.cs" />
<Compile Include="Menu.cs">
@@ -80,8 +80,8 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Console.resx">
<DependentUpon>Console.cs</DependentUpon>
<EmbeddedResource Include="Text Editor.resx">
<DependentUpon>Text Editor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Menu.resx">
<DependentUpon>Menu.cs</DependentUpon>
@@ -20,7 +20,7 @@ namespace Advanced_Software_Engineering
private void button1_Click(object sender, EventArgs e)
{
SettingsAndHelperFunctions.NumberOfWindows++;
new Console().Show();
new Text_Editor().Show();
this.Hide();
}
@@ -2,7 +2,7 @@
namespace Advanced_Software_Engineering
{
partial class Console
partial class Text_Editor
{
/// <summary>
/// Required designer variable.
@@ -10,9 +10,9 @@ using System.Windows.Forms;
namespace Advanced_Software_Engineering
{
public partial class Console : Form
public partial class Text_Editor : Form
{
public Console()
public Text_Editor()
{
InitializeComponent();
}