diff options
| author | lempamo <[email protected]> | 2017-04-09 19:38:33 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-04-09 19:38:33 -0400 |
| commit | 486d33b73a8beec3c1080cf5c501ceeafcddc4fa (patch) | |
| tree | f84d14bbcb4fdcae4e0ed414359e1d6674a08bdb /TimeHACK.Main/OS/Win95/Win95Apps | |
| parent | 5825e897515553ea4306ac3e41073f92501510a5 (diff) | |
| download | histacom2-486d33b73a8beec3c1080cf5c501ceeafcddc4fa.tar.gz histacom2-486d33b73a8beec3c1080cf5c501ceeafcddc4fa.tar.bz2 histacom2-486d33b73a8beec3c1080cf5c501ceeafcddc4fa.zip | |
about boxes!
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs | 3 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs index 255feaa..240670c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs @@ -304,12 +304,13 @@ this.aboutNotepadToolStripMenuItem.Name = "aboutNotepadToolStripMenuItem"; this.aboutNotepadToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.aboutNotepadToolStripMenuItem.Text = "About Notepad"; + this.aboutNotepadToolStripMenuItem.Click += new System.EventHandler(this.aboutNotepadToolStripMenuItem_Click); // // textBox1 // this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.textBox1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.Location = new System.Drawing.Point(0, 27); this.textBox1.MaxLength = 131072; this.textBox1.Multiline = true; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs index 5835c6d..6542f4c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs @@ -7,6 +7,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using TimeHACK.Engine; namespace TimeHACK.OS.Win95.Win95Apps { @@ -29,5 +30,11 @@ namespace TimeHACK.OS.Win95.Win95Apps { this.ParentForm.Close(); } + + private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e) + { + WindowManager wm = new WindowManager(); + wm.startAboutBox95("Notepad", "Microsoft Notepad", Properties.Resources.WinClassicNotepad); + } } } |
