diff options
| author | AShifter <[email protected]> | 2017-04-22 13:41:33 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-04-22 13:41:33 -0600 |
| commit | 51177cd4c24b9b107726bdbae914d49f6b5fa7b5 (patch) | |
| tree | 08d585cb8e2b0241aaede964a38973af42a1c470 /TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs | |
| parent | 5773e8ac9aeac2d395a700eac26d86db90c60c13 (diff) | |
| parent | e6474bbf221d26d227e42174c4d1ab939987be2b (diff) | |
| download | histacom2-51177cd4c24b9b107726bdbae914d49f6b5fa7b5.tar.gz histacom2-51177cd4c24b9b107726bdbae914d49f6b5fa7b5.tar.bz2 histacom2-51177cd4c24b9b107726bdbae914d49f6b5fa7b5.zip | |
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs new file mode 100644 index 0000000..6542f4c --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using TimeHACK.Engine; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class Win95Notepad : UserControl + { + public Win95Notepad() + { + InitializeComponent(); + foreach (ToolStripMenuItem item in menuStrip1.Items) + { + item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); + item.BackColor = Color.Silver; + item.BackgroundImage = Properties.Resources.sliversilver; + item.BackgroundImageLayout = ImageLayout.None; + item.DisplayStyle = ToolStripItemDisplayStyle.Text; + } + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + this.ParentForm.Close(); + } + + private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e) + { + WindowManager wm = new WindowManager(); + wm.startAboutBox95("Notepad", "Microsoft Notepad", Properties.Resources.WinClassicNotepad); + } + } +} |
