Private
Public Access
Added CommandHelp to help buttons
This commit is contained in:
1 parent
2ef23814cc
commit
de66972546
5 files changed
+20
-13
No files matched your search
+9
@@ -97,6 +97,12 @@
|
|||||||
<Compile Include="Verbs\VerbFactory.cs" />
|
<Compile Include="Verbs\VerbFactory.cs" />
|
||||||
<Compile Include="Commander.cs" />
|
<Compile Include="Commander.cs" />
|
||||||
<Compile Include="Drawer.cs" />
|
<Compile Include="Drawer.cs" />
|
||||||
|
<Compile Include="Windows\CommandHelp.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Windows\CommandHelp.Designer.cs">
|
||||||
|
<DependentUpon>CommandHelp.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Windows\DrawPreview.cs">
|
<Compile Include="Windows\DrawPreview.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -133,6 +139,9 @@
|
|||||||
<EmbeddedResource Include="Windows\AboutWindow.resx">
|
<EmbeddedResource Include="Windows\AboutWindow.resx">
|
||||||
<DependentUpon>AboutWindow.cs</DependentUpon>
|
<DependentUpon>AboutWindow.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Windows\CommandHelp.resx">
|
||||||
|
<DependentUpon>CommandHelp.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Windows\DrawPreview.resx">
|
<EmbeddedResource Include="Windows\DrawPreview.resx">
|
||||||
<DependentUpon>DrawPreview.cs</DependentUpon>
|
<DependentUpon>DrawPreview.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace Advanced_Software_Engineering.Windows {
|
namespace Advanced_Software_Engineering {
|
||||||
partial class CommandHelp {
|
partial class CommandHelp {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
|
|||||||
@@ -1,14 +1,6 @@
|
|||||||
using System;
|
using System.Windows.Forms;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace Advanced_Software_Engineering.Windows {
|
namespace Advanced_Software_Engineering {
|
||||||
public partial class CommandHelp : Form {
|
public partial class CommandHelp : Form {
|
||||||
public CommandHelp() {
|
public CommandHelp() {
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|||||||
Generated
+3
-2
@@ -166,15 +166,16 @@ namespace Advanced_Software_Engineering
|
|||||||
// aboutToolStripMenuItem
|
// aboutToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||||
this.aboutToolStripMenuItem.Text = "About";
|
this.aboutToolStripMenuItem.Text = "About";
|
||||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// helpToolStripMenuItem1
|
// helpToolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.helpToolStripMenuItem1.Name = "helpToolStripMenuItem1";
|
this.helpToolStripMenuItem1.Name = "helpToolStripMenuItem1";
|
||||||
this.helpToolStripMenuItem1.Size = new System.Drawing.Size(107, 22);
|
this.helpToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
|
||||||
this.helpToolStripMenuItem1.Text = "Help";
|
this.helpToolStripMenuItem1.Text = "Help";
|
||||||
|
this.helpToolStripMenuItem1.Click += new System.EventHandler(this.helpToolStripMenuItem1_Click);
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -258,5 +258,10 @@ namespace Advanced_Software_Engineering {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void textBox1_KeyUp(object sender, KeyEventArgs e) => updateRowCol();
|
private void textBox1_KeyUp(object sender, KeyEventArgs e) => updateRowCol();
|
||||||
|
|
||||||
|
private void helpToolStripMenuItem1_Click(object sender, EventArgs e) => new CommandHelp().Show();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user