From fbdca852b1fc901db6a09fc22fd523160489f7ed Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 9 Apr 2017 14:05:04 -0400 Subject: added notepad --- TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs new file mode 100644 index 0000000..5835c6d --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs @@ -0,0 +1,33 @@ +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; + +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(); + } + } +} -- cgit v1.2.3