From cfd245999971496cf445b35be0d83019c12a3025 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Fri, 28 Apr 2017 22:49:32 +0100 Subject: Pretty much started my WordPad Application Just need to add some non-Designer related code next --- TimeHACK.Main/OS/Win95/Win95.Designer.cs | 43 +- TimeHACK.Main/OS/Win95/Win95.cs | 8 + TimeHACK.Main/OS/Win95/Win95.resx | 323 ++++++------- .../Win95/Win95Apps/WinClassicWordPad.Designer.cs | 536 +++++++++++++++++++++ .../OS/Win95/Win95Apps/WinClassicWordPad.cs | 119 +++++ .../OS/Win95/Win95Apps/WinClassicWordPad.resx | 123 +++++ TimeHACK.Main/Properties/Resources.Designer.cs | 60 +++ TimeHACK.Main/Properties/Resources.resx | 18 + .../Resources/WinClassic/WinClassicCopy.png | Bin 0 -> 254 bytes .../Resources/WinClassic/WinClassicCut.png | Bin 0 -> 254 bytes .../Resources/WinClassic/WinClassicNew.png | Bin 0 -> 191 bytes .../Resources/WinClassic/WinClassicPaste.png | Bin 0 -> 288 bytes .../Resources/WinClassic/WinClassicUndo.png | Bin 0 -> 216 bytes TimeHACK.Main/TimeHACK.Main.csproj | 15 + 14 files changed, 1057 insertions(+), 188 deletions(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicCut.png create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicNew.png create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index 36f249a..3ec62b6 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - this.resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("My Computer", 0); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Network Neighborhood", 5); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("Inbox", 3); @@ -229,7 +229,7 @@ this.startmenuitems.Name = "startmenuitems"; this.startmenuitems.Padding = new System.Windows.Forms.Padding(6, 2, 0, 0); this.startmenuitems.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; - this.startmenuitems.Size = new System.Drawing.Size(144, 311); + this.startmenuitems.Size = new System.Drawing.Size(141, 311); this.startmenuitems.TabIndex = 0; this.startmenuitems.Text = "StartMenu"; // @@ -284,7 +284,7 @@ this.AccessoriesToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.AccessoriesToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; this.AccessoriesToolStripMenuItem.Name = "AccessoriesToolStripMenuItem"; - this.AccessoriesToolStripMenuItem.Size = new System.Drawing.Size(184, 26); + this.AccessoriesToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.AccessoriesToolStripMenuItem.Text = "Accessories"; // // CommunicationsToolStripMenuItem @@ -306,7 +306,7 @@ this.InternetConnectionWizardToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.InternetConnectionWizardToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.InternetConnectionWizardToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.InternetConnectionWizardToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("InternetConnectionWizardToolStripMenuItem.Image")); + this.InternetConnectionWizardToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("InternetConnectionWizardToolStripMenuItem.Image"))); this.InternetConnectionWizardToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.InternetConnectionWizardToolStripMenuItem.Name = "InternetConnectionWizardToolStripMenuItem"; this.InternetConnectionWizardToolStripMenuItem.Size = new System.Drawing.Size(219, 22); @@ -317,7 +317,7 @@ this.NetMeetingToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.NetMeetingToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.NetMeetingToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.NetMeetingToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("NetMeetingToolStripMenuItem.Image")); + this.NetMeetingToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("NetMeetingToolStripMenuItem.Image"))); this.NetMeetingToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.NetMeetingToolStripMenuItem.Name = "NetMeetingToolStripMenuItem"; this.NetMeetingToolStripMenuItem.Size = new System.Drawing.Size(219, 22); @@ -345,7 +345,7 @@ this.CDPlayerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.CDPlayerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.CDPlayerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.CDPlayerToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("CDPlayerToolStripMenuItem.Image")); + this.CDPlayerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("CDPlayerToolStripMenuItem.Image"))); this.CDPlayerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.CDPlayerToolStripMenuItem.Name = "CDPlayerToolStripMenuItem"; this.CDPlayerToolStripMenuItem.Size = new System.Drawing.Size(194, 22); @@ -356,7 +356,7 @@ this.SoundRecorderToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.SoundRecorderToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.SoundRecorderToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.SoundRecorderToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("SoundRecorderToolStripMenuItem.Image")); + this.SoundRecorderToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("SoundRecorderToolStripMenuItem.Image"))); this.SoundRecorderToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.SoundRecorderToolStripMenuItem.Name = "SoundRecorderToolStripMenuItem"; this.SoundRecorderToolStripMenuItem.Size = new System.Drawing.Size(194, 22); @@ -367,7 +367,7 @@ this.VolumeControlToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.VolumeControlToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.VolumeControlToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.VolumeControlToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("VolumeControlToolStripMenuItem.Image")); + this.VolumeControlToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("VolumeControlToolStripMenuItem.Image"))); this.VolumeControlToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.VolumeControlToolStripMenuItem.Name = "VolumeControlToolStripMenuItem"; this.VolumeControlToolStripMenuItem.Size = new System.Drawing.Size(194, 22); @@ -378,7 +378,7 @@ this.WindowsMediaPlayerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.WindowsMediaPlayerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.WindowsMediaPlayerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.WindowsMediaPlayerToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("WindowsMediaPlayerToolStripMenuItem.Image")); + this.WindowsMediaPlayerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("WindowsMediaPlayerToolStripMenuItem.Image"))); this.WindowsMediaPlayerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.WindowsMediaPlayerToolStripMenuItem.Name = "WindowsMediaPlayerToolStripMenuItem"; this.WindowsMediaPlayerToolStripMenuItem.Size = new System.Drawing.Size(194, 22); @@ -403,7 +403,7 @@ this.DiskDefragmenterToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.DiskDefragmenterToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.DiskDefragmenterToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.DiskDefragmenterToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("DiskDefragmenterToolStripMenuItem.Image")); + this.DiskDefragmenterToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("DiskDefragmenterToolStripMenuItem.Image"))); this.DiskDefragmenterToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.DiskDefragmenterToolStripMenuItem.Name = "DiskDefragmenterToolStripMenuItem"; this.DiskDefragmenterToolStripMenuItem.Size = new System.Drawing.Size(172, 22); @@ -414,7 +414,7 @@ this.ScanDiskToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.ScanDiskToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.ScanDiskToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.ScanDiskToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("ScanDiskToolStripMenuItem.Image")); + this.ScanDiskToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ScanDiskToolStripMenuItem.Image"))); this.ScanDiskToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.ScanDiskToolStripMenuItem.Name = "ScanDiskToolStripMenuItem"; this.ScanDiskToolStripMenuItem.Size = new System.Drawing.Size(172, 22); @@ -425,7 +425,7 @@ this.AddressBookToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.AddressBookToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.AddressBookToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.AddressBookToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("AddressBookToolStripMenuItem.Image")); + this.AddressBookToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("AddressBookToolStripMenuItem.Image"))); this.AddressBookToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.AddressBookToolStripMenuItem.Name = "AddressBookToolStripMenuItem"; this.AddressBookToolStripMenuItem.Size = new System.Drawing.Size(181, 28); @@ -458,7 +458,7 @@ this.ImagingToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.ImagingToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.ImagingToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.ImagingToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("ImagingToolStripMenuItem.Image")); + this.ImagingToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ImagingToolStripMenuItem.Image"))); this.ImagingToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.ImagingToolStripMenuItem.Name = "ImagingToolStripMenuItem"; this.ImagingToolStripMenuItem.Size = new System.Drawing.Size(181, 28); @@ -481,7 +481,7 @@ this.OnlineRegistrationToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.OnlineRegistrationToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.OnlineRegistrationToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.OnlineRegistrationToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("OnlineRegistrationToolStripMenuItem.Image")); + this.OnlineRegistrationToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("OnlineRegistrationToolStripMenuItem.Image"))); this.OnlineRegistrationToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.OnlineRegistrationToolStripMenuItem.Name = "OnlineRegistrationToolStripMenuItem"; this.OnlineRegistrationToolStripMenuItem.Size = new System.Drawing.Size(181, 28); @@ -503,7 +503,7 @@ this.PhoneDialerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.PhoneDialerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.PhoneDialerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.PhoneDialerToolStripMenuItem.Image = ((System.Drawing.Image)resources.GetObject("PhoneDialerToolStripMenuItem.Image")); + this.PhoneDialerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("PhoneDialerToolStripMenuItem.Image"))); this.PhoneDialerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.PhoneDialerToolStripMenuItem.Name = "PhoneDialerToolStripMenuItem"; this.PhoneDialerToolStripMenuItem.Size = new System.Drawing.Size(181, 28); @@ -519,6 +519,7 @@ this.WordPadToolStripMenuItem.Name = "WordPadToolStripMenuItem"; this.WordPadToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.WordPadToolStripMenuItem.Text = "WordPad"; + this.WordPadToolStripMenuItem.Click += new System.EventHandler(this.WordPadToolStripMenuItem_Click); // // StartUpToolStripMenuItem // @@ -598,7 +599,7 @@ this.EmptyToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.EmptyToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.EmptyToolStripMenuItem.Name = "EmptyToolStripMenuItem"; - this.EmptyToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.EmptyToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.EmptyToolStripMenuItem.Text = "(Empty)"; // // InternetExplorerToolStripMenuItem @@ -620,7 +621,7 @@ this.MSDOSPromptToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; this.MSDOSPromptToolStripMenuItem1.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.MSDOSPromptToolStripMenuItem1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.MSDOSPromptToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("MSDOSPromptToolStripMenuItem.Image"))); + this.MSDOSPromptToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("MSDOSPromptToolStripMenuItem1.Image"))); this.MSDOSPromptToolStripMenuItem1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.MSDOSPromptToolStripMenuItem1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.MSDOSPromptToolStripMenuItem1.ImageTransparentColor = System.Drawing.Color.Silver; @@ -646,7 +647,7 @@ this.WindowsExplorerToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; this.WindowsExplorerToolStripMenuItem1.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.WindowsExplorerToolStripMenuItem1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.WindowsExplorerToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("WindowsExplorerToolStripMenuItem.Image"))); + this.WindowsExplorerToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("WindowsExplorerToolStripMenuItem1.Image"))); this.WindowsExplorerToolStripMenuItem1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.WindowsExplorerToolStripMenuItem1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.WindowsExplorerToolStripMenuItem1.ImageTransparentColor = System.Drawing.Color.Silver; @@ -772,7 +773,7 @@ this.ControlPanelToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.ControlPanelToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.ControlPanelToolStripMenuItem.Name = "ControlPanelToolStripMenuItem"; - this.ControlPanelToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.ControlPanelToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.ControlPanelToolStripMenuItem.Text = "Control Panel"; // // PrintersToolStripMenuItem @@ -780,7 +781,7 @@ this.PrintersToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.PrintersToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.PrintersToolStripMenuItem.Name = "PrintersToolStripMenuItem"; - this.PrintersToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.PrintersToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.PrintersToolStripMenuItem.Text = "Printers"; // // TaskbarToolStripMenuItem @@ -788,7 +789,7 @@ this.TaskbarToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.TaskbarToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.TaskbarToolStripMenuItem.Name = "TaskbarToolStripMenuItem"; - this.TaskbarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.TaskbarToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.TaskbarToolStripMenuItem.Text = "Taskbar"; // // FindToolStripMenuItem diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index a160251..e70d90e 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -232,6 +232,14 @@ namespace TimeHACK.OS.Win95 { ie = null; } + + private void WordPadToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassicWordPad wp = new WinClassicWordPad(); + WinClassic app = wm.startWin95(wp, "Wordpad", null, true, true); + app.BringToFront(); + startmenu.Hide(); + } } } diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index f717069..3038697 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -135,8 +135,89 @@ SUVORK5CYII= - + 17, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N + kgEOwCAIA3m6T/NnG6UwBZ1bk6pTemIy2am1dlX70VlR3Hu/IBE1wr5/BOEQymFZLRvIHMZtGjUjEHOG + mIdS214UkGi92qM5zDnCENfYn+0AQvAxC2/nHsNe+HgLwCbEmW1HmLOOZtYuAB0SJKAsivAPgBXpOgNQ + PPwCyDcF4M0TAIZw84CUgq1TF2xvhP+oACBCAoBW9dg6szWLzeUZs9Y/7mQNVMCjOPywyA3MF+cOKQF9 + RAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAKpJREFUOE/N + UskNgDAMy+gdrZsVO3cL/HhgySKJD/WB/BdjjNXpZ9wFu+R+QwTmnDAtY5UsbErOGuiIIKmBoJYwwEJ7 + QZbEk066qCHbo8R0Qj0OPbA1vrxpCKxSm3dPIYWtwMNED28Fp5Ai7lWwe17DFNKwFRBHmKj2EDCZ4eEF + pxeIdj+AnH33gtIeGO11jAJQw20X+5nAG7SE5GykuTO1V5yGHur3LyFyAZP8TrljsWNAAAAAAElFTkSu + QmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcwxstlzQAAALVJREFU + OE+dj4ERwyAMAxmd0diMImMZYaC9q3xOIJaeUP5Q936r1tpz+wgi4ATR3Huxbq1FC4ihHWDDEWM4A9jD + ukJczzBqRl8AD+iVMgB1B7j5BGATpqgJ4XfbeTi8vt8ANnCAn2JvnZuH4RvADKgx5MnHfAHm/bMB0j8A + KnueAEjX+Bs+1RcAiBBITWYUACEjssIQAFAOmzmissoAKF9FARvkFqYAySACxvh7WEXQWP4IlvIBh1rl + tmCAq4kAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcZhHn9oQAAAJ9JREFU + OE+VkAEOxCAIBH26P6s/8zrgeqTS05uEKMouaNnQR/zPdZVeazWDsZ6DuHfv3lqz8JsDJKYrgRiyKZYz + ieFOpxhiscxH6sIojuMLCV669lD8nYAQi1CosxusE7DCoQG44L6SyPL4hBic2ftJnhMQQsVvWHH8SPLs + E3dME/aZwYnRfBIholB3I00xE1amIDLBscmu8Bdm4NuMUj70z1LCUTedOwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcbanecjQAAAItJREFU + OE+VjgEOhCAMBHk6T+Nn2iFuXEEtTLLBbNu5K6LWeuzkOruhXCXWvwWttd9cv74miLrHu1TASyQAHSr0 + /chh4PiBz/iO9W+B/mpUj6hPBbxEEtChQt+PHAbOKBCpgGUl6qlLBbxkFKgn9P3IYeCMApEKWFaEd1uC + t6QC3iyxPgsCDVYTlHICH5QKXtIjRNoAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3R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OCTiMBarSI1712qeZwwbkkApejBuqLLK8h7Cb5T8HGI8QBLPq8+wdzr722FUNL7+gEsuE06MI + qELk6T7DOhNcwTNAcuMJAZYAdQgiJAIk/kAZdr8OmCHD+5UWeRkBfKgEduUAYL/r1w0ie5EGNPvMCQAA + AABJRU5ErkJggg== @@ -164,6 +263,15 @@ 5lve4hTMXbirjVETQHQQtaX23LFN9mIRXtMCh14BIirctm/yiyGNkB7mHvxXAgTj/Os4jegzmHeVQ3KA TWlAq7UUQOgUYE3KxCDMXd5drEGnADfz/Qj6d4QC569ZukoKUwfrq3ugewmgnmgP5eCztGaVFK0HnJUB VdEYP35ybB/eOVN7AAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAK5JREFUOE+V + kAESwyAIBH06T/Nnlju8FNFJ7c0w0sBuTVqNWRu15uh3sDzGXleiDJsZlnleiyTwloXgzGLVUTIfcqH3 + zhO/UZrlG20S/RNg9JLodSSUAD045gR/JUj0vsoeM/SEkRAosVBhQTgPgvy1lfVWBazw8KGxsiiDGdbr + gKfAWwJIFp3AuFF8WPAUaOBPwuJJSwuomjNmWcqiF/CBczbRLVjziP4Fay7A1j6MmatnPf0QdQAAAABJ + RU5ErkJggg== @@ -175,18 +283,54 @@ aQNok1HVambm9gBAYeI/oBSQZwAAAABJRU5ErkJggg== - - 153, 17 + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACVSURBVDhPlZELEsQgDEI9em7uBhVN2HTtvhmqotBf+4/e + s36ih6mIrgcmARX2CdaJE/brnn+LJZhvYFo3czeFp3/W0U9UYWgjfiq4honsr5I6/EZewDDG8sBNMwgY + iAUvQMG5+7VA9vcTBENKzPCB4T284ikYTFNKao1SH3IBwHwdqIroJ7hJxvxJGf+H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MACrkA8UY06FmerAR4GCL5jrqAlIAUHkZzBVkCUhhrAWxO4GGpBvAwaglQsj5pDOOnRkgJuA71 - BeATOLKwQxLAb6g8OmSiGaL7BjD5xsIRYvu7+h3yCSCawkQHtwPWgxECHeYAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+EECBQo - FH1QndMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDQtMDhUMjA6NDA6MjArMDA6MDCWSUNwAAAAJXRF - WHRkYXRlOm1vZGlmeQAyMDE3LTA0LTA4VDIwOjQwOjIwKzAwOjAw5xT7zAAAAHpJREFUOE+djgsOgDAI - Qzn6bubRlF+zOZV1vqRBGK0IS2vthHK0ZjQBHdcBhcllc9t7UJnsvSSM4tKWM03cAvLMVe3YwNBPuqYC - JONxVbGvCnABSx2QfwJjK0c03wHYzjq1RICB7WRsf10AeU9dQPAasCu19YAEww2JXJGJ13tFDjjJAAAA - AElFTkSuQmCC \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs new file mode 100644 index 0000000..31ea957 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs @@ -0,0 +1,536 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicWordPad + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.topmenu = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.sendToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.formatBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.insertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.dateTimeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.formatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.bulletStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpTopicsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.aboutWordpadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mainText = new System.Windows.Forms.RichTextBox(); + this.pnlToolbar = new System.Windows.Forms.Panel(); + this.btnPaste = new System.Windows.Forms.Button(); + this.btnCopy = new System.Windows.Forms.Button(); + this.btnCut = new System.Windows.Forms.Button(); + this.btnNew = new System.Windows.Forms.Button(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pnlFormatBar = new System.Windows.Forms.Panel(); + this.comboSize = new System.Windows.Forms.ComboBox(); + this.comboFont = new System.Windows.Forms.ComboBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.btnUnderline = new System.Windows.Forms.Button(); + this.btnItalic = new System.Windows.Forms.Button(); + this.btnBold = new System.Windows.Forms.Button(); + this.statusBar = new System.Windows.Forms.Panel(); + this.lblStatus = new System.Windows.Forms.Label(); + this.topmenu.SuspendLayout(); + this.pnlToolbar.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.pnlFormatBar.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.statusBar.SuspendLayout(); + this.SuspendLayout(); + // + // topmenu + // + this.topmenu.BackColor = System.Drawing.Color.Silver; + this.topmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.editToolStripMenuItem, + this.viewToolStripMenuItem, + this.insertToolStripMenuItem, + this.formatToolStripMenuItem, + this.helpToolStripMenuItem}); + this.topmenu.Location = new System.Drawing.Point(0, 0); + this.topmenu.Name = "topmenu"; + this.topmenu.Size = new System.Drawing.Size(593, 24); + this.topmenu.TabIndex = 0; + this.topmenu.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newToolStripMenuItem, + this.toolStripSeparator1, + this.sendToolStripMenuItem, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // newToolStripMenuItem + // + this.newToolStripMenuItem.Name = "newToolStripMenuItem"; + this.newToolStripMenuItem.Size = new System.Drawing.Size(109, 22); + this.newToolStripMenuItem.Text = "New"; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(106, 6); + // + // sendToolStripMenuItem + // + this.sendToolStripMenuItem.Name = "sendToolStripMenuItem"; + this.sendToolStripMenuItem.Size = new System.Drawing.Size(109, 22); + this.sendToolStripMenuItem.Text = "Send..."; + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // editToolStripMenuItem + // + this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.undoToolStripMenuItem, + this.toolStripSeparator2, + this.cutToolStripMenuItem, + this.copyToolStripMenuItem, + this.pasteToolStripMenuItem, + this.toolStripSeparator3, + this.clearToolStripMenuItem, + this.selectAllToolStripMenuItem}); + this.editToolStripMenuItem.Name = "editToolStripMenuItem"; + this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.editToolStripMenuItem.Text = "Edit"; + // + // undoToolStripMenuItem + // + this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; + this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.undoToolStripMenuItem.Text = "Undo"; + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(119, 6); + // + // cutToolStripMenuItem + // + this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; + this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.cutToolStripMenuItem.Text = "Cut"; + // + // copyToolStripMenuItem + // + this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; + this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.copyToolStripMenuItem.Text = "Copy"; + // + // pasteToolStripMenuItem + // + this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; + this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.pasteToolStripMenuItem.Text = "Paste"; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(119, 6); + // + // clearToolStripMenuItem + // + this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; + this.clearToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.clearToolStripMenuItem.Text = "Clear"; + // + // selectAllToolStripMenuItem + // + this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.selectAllToolStripMenuItem.Text = "Select All"; + // + // viewToolStripMenuItem + // + this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolbarToolStripMenuItem, + this.formatBarToolStripMenuItem, + this.statusBarToolStripMenuItem}); + this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; + this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.viewToolStripMenuItem.Text = "View"; + // + // toolbarToolStripMenuItem + // + this.toolbarToolStripMenuItem.Checked = true; + this.toolbarToolStripMenuItem.CheckOnClick = true; + this.toolbarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem"; + this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.toolbarToolStripMenuItem.Text = "Toolbar"; + this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click); + // + // formatBarToolStripMenuItem + // + this.formatBarToolStripMenuItem.Checked = true; + this.formatBarToolStripMenuItem.CheckOnClick = true; + this.formatBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.formatBarToolStripMenuItem.Name = "formatBarToolStripMenuItem"; + this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.formatBarToolStripMenuItem.Text = "Format Bar"; + this.formatBarToolStripMenuItem.Click += new System.EventHandler(this.formatBarToolStripMenuItem_Click); + // + // statusBarToolStripMenuItem + // + this.statusBarToolStripMenuItem.Checked = true; + this.statusBarToolStripMenuItem.CheckOnClick = true; + this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem"; + this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.statusBarToolStripMenuItem.Text = "Status Bar"; + this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click); + // + // insertToolStripMenuItem + // + this.insertToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.dateTimeToolStripMenuItem}); + this.insertToolStripMenuItem.Name = "insertToolStripMenuItem"; + this.insertToolStripMenuItem.Size = new System.Drawing.Size(48, 20); + this.insertToolStripMenuItem.Text = "Insert"; + // + // dateTimeToolStripMenuItem + // + this.dateTimeToolStripMenuItem.Name = "dateTimeToolStripMenuItem"; + this.dateTimeToolStripMenuItem.Size = new System.Drawing.Size(130, 22); + this.dateTimeToolStripMenuItem.Text = "Date/Time"; + // + // formatToolStripMenuItem + // + this.formatToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bulletStyleToolStripMenuItem}); + this.formatToolStripMenuItem.Name = "formatToolStripMenuItem"; + this.formatToolStripMenuItem.Size = new System.Drawing.Size(57, 20); + this.formatToolStripMenuItem.Text = "Format"; + // + // bulletStyleToolStripMenuItem + // + this.bulletStyleToolStripMenuItem.Name = "bulletStyleToolStripMenuItem"; + this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(131, 22); + this.bulletStyleToolStripMenuItem.Text = "Bullet style"; + // + // helpToolStripMenuItem + // + this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.helpTopicsToolStripMenuItem, + this.toolStripSeparator4, + this.aboutWordpadToolStripMenuItem}); + this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.helpToolStripMenuItem.Text = "Help"; + // + // helpTopicsToolStripMenuItem + // + this.helpTopicsToolStripMenuItem.Name = "helpTopicsToolStripMenuItem"; + this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.helpTopicsToolStripMenuItem.Text = "Help Topics"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(156, 6); + // + // aboutWordpadToolStripMenuItem + // + this.aboutWordpadToolStripMenuItem.Name = "aboutWordpadToolStripMenuItem"; + this.aboutWordpadToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.aboutWordpadToolStripMenuItem.Text = "About Wordpad"; + this.aboutWordpadToolStripMenuItem.Click += new System.EventHandler(this.aboutWordpadToolStripMenuItem_Click); + // + // mainText + // + this.mainText.Dock = System.Windows.Forms.DockStyle.Fill; + this.mainText.Location = new System.Drawing.Point(0, 80); + this.mainText.Name = "mainText"; + this.mainText.Size = new System.Drawing.Size(593, 290); + this.mainText.TabIndex = 1; + this.mainText.Text = ""; + // + // pnlToolbar + // + this.pnlToolbar.BackColor = System.Drawing.Color.Silver; + this.pnlToolbar.Controls.Add(this.btnPaste); + this.pnlToolbar.Controls.Add(this.btnCopy); + this.pnlToolbar.Controls.Add(this.btnCut); + this.pnlToolbar.Controls.Add(this.btnNew); + this.pnlToolbar.Controls.Add(this.pictureBox1); + this.pnlToolbar.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlToolbar.Location = new System.Drawing.Point(0, 24); + this.pnlToolbar.Name = "pnlToolbar"; + this.pnlToolbar.Size = new System.Drawing.Size(593, 28); + this.pnlToolbar.TabIndex = 2; + // + // btnPaste + // + this.btnPaste.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnPaste.Image = global::TimeHACK.Properties.Resources.WinClassicPaste; + this.btnPaste.Location = new System.Drawing.Point(102, 3); + this.btnPaste.Name = "btnPaste"; + this.btnPaste.Size = new System.Drawing.Size(26, 23); + this.btnPaste.TabIndex = 1; + this.btnPaste.UseVisualStyleBackColor = true; + // + // btnCopy + // + this.btnCopy.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnCopy.Image = global::TimeHACK.Properties.Resources.WinClassicCopy; + this.btnCopy.Location = new System.Drawing.Point(70, 3); + this.btnCopy.Name = "btnCopy"; + this.btnCopy.Size = new System.Drawing.Size(26, 23); + this.btnCopy.TabIndex = 1; + this.btnCopy.UseVisualStyleBackColor = true; + // + // btnCut + // + this.btnCut.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnCut.Image = global::TimeHACK.Properties.Resources.WinClassicCut; + this.btnCut.Location = new System.Drawing.Point(38, 3); + this.btnCut.Name = "btnCut"; + this.btnCut.Size = new System.Drawing.Size(26, 23); + this.btnCut.TabIndex = 1; + this.btnCut.UseVisualStyleBackColor = true; + // + // btnNew + // + this.btnNew.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnNew.Image = global::TimeHACK.Properties.Resources.WinClassicNew; + this.btnNew.Location = new System.Drawing.Point(6, 3); + this.btnNew.Name = "btnNew"; + this.btnNew.Size = new System.Drawing.Size(26, 23); + this.btnNew.TabIndex = 1; + this.btnNew.UseVisualStyleBackColor = true; + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.SystemColors.AppWorkspace; + this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(593, 1); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // pnlFormatBar + // + this.pnlFormatBar.BackColor = System.Drawing.Color.Silver; + this.pnlFormatBar.Controls.Add(this.comboSize); + this.pnlFormatBar.Controls.Add(this.comboFont); + this.pnlFormatBar.Controls.Add(this.pictureBox2); + this.pnlFormatBar.Controls.Add(this.btnUnderline); + this.pnlFormatBar.Controls.Add(this.btnItalic); + this.pnlFormatBar.Controls.Add(this.btnBold); + this.pnlFormatBar.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlFormatBar.Location = new System.Drawing.Point(0, 52); + this.pnlFormatBar.Name = "pnlFormatBar"; + this.pnlFormatBar.Size = new System.Drawing.Size(593, 28); + this.pnlFormatBar.TabIndex = 3; + // + // comboSize + // + this.comboSize.FormattingEnabled = true; + this.comboSize.Location = new System.Drawing.Point(157, 3); + this.comboSize.Name = "comboSize"; + this.comboSize.Size = new System.Drawing.Size(50, 21); + this.comboSize.TabIndex = 1; + // + // comboFont + // + this.comboFont.FormattingEnabled = true; + this.comboFont.Location = new System.Drawing.Point(6, 3); + this.comboFont.Name = "comboFont"; + this.comboFont.Size = new System.Drawing.Size(145, 21); + this.comboFont.TabIndex = 1; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.SystemColors.AppWorkspace; + this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBox2.Location = new System.Drawing.Point(0, 0); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(593, 1); + this.pictureBox2.TabIndex = 0; + this.pictureBox2.TabStop = false; + // + // btnUnderline + // + this.btnUnderline.BackColor = System.Drawing.Color.DimGray; + this.btnUnderline.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnUnderline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnUnderline.Location = new System.Drawing.Point(277, 2); + this.btnUnderline.Name = "btnUnderline"; + this.btnUnderline.Size = new System.Drawing.Size(26, 23); + this.btnUnderline.TabIndex = 1; + this.btnUnderline.Text = "U"; + this.btnUnderline.UseVisualStyleBackColor = false; + this.btnUnderline.Click += new System.EventHandler(this.btnUnderline_Click); + // + // btnItalic + // + this.btnItalic.BackColor = System.Drawing.Color.DimGray; + this.btnItalic.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnItalic.Location = new System.Drawing.Point(245, 2); + this.btnItalic.Name = "btnItalic"; + this.btnItalic.Size = new System.Drawing.Size(26, 23); + this.btnItalic.TabIndex = 1; + this.btnItalic.Text = "I"; + this.btnItalic.UseVisualStyleBackColor = false; + this.btnItalic.Click += new System.EventHandler(this.btnItalic_Click); + // + // btnBold + // + this.btnBold.BackColor = System.Drawing.Color.DimGray; + this.btnBold.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnBold.Location = new System.Drawing.Point(213, 2); + this.btnBold.Name = "btnBold"; + this.btnBold.Size = new System.Drawing.Size(26, 23); + this.btnBold.TabIndex = 1; + this.btnBold.Text = "B"; + this.btnBold.UseVisualStyleBackColor = false; + this.btnBold.Click += new System.EventHandler(this.btnBold_Click); + // + // statusBar + // + this.statusBar.BackColor = System.Drawing.Color.Silver; + this.statusBar.Controls.Add(this.lblStatus); + this.statusBar.Dock = System.Windows.Forms.DockStyle.Bottom; + this.statusBar.Location = new System.Drawing.Point(0, 353); + this.statusBar.Name = "statusBar"; + this.statusBar.Size = new System.Drawing.Size(593, 17); + this.statusBar.TabIndex = 4; + // + // lblStatus + // + this.lblStatus.AutoSize = true; + this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblStatus.Location = new System.Drawing.Point(3, 1); + this.lblStatus.Name = "lblStatus"; + this.lblStatus.Size = new System.Drawing.Size(119, 16); + this.lblStatus.TabIndex = 0; + this.lblStatus.Text = "For Help, Press F1"; + // + // WinClassicWordPad + // + this.BackColor = System.Drawing.SystemColors.Control; + this.Controls.Add(this.statusBar); + this.Controls.Add(this.mainText); + this.Controls.Add(this.pnlFormatBar); + this.Controls.Add(this.pnlToolbar); + this.Controls.Add(this.topmenu); + this.Name = "WinClassicWordPad"; + this.Size = new System.Drawing.Size(593, 370); + this.topmenu.ResumeLayout(false); + this.topmenu.PerformLayout(); + this.pnlToolbar.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.pnlFormatBar.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + this.statusBar.ResumeLayout(false); + this.statusBar.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem helloToolStripMenuItem; + private System.Windows.Forms.MenuStrip topmenu; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem insertToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem formatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem sendToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.RichTextBox mainText; + private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolbarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem formatBarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem statusBarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem dateTimeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem bulletStyleToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpTopicsToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem aboutWordpadToolStripMenuItem; + private System.Windows.Forms.Panel pnlToolbar; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Panel pnlFormatBar; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.Panel statusBar; + private System.Windows.Forms.Label lblStatus; + private System.Windows.Forms.Button btnNew; + private System.Windows.Forms.Button btnCut; + private System.Windows.Forms.Button btnPaste; + private System.Windows.Forms.Button btnCopy; + private System.Windows.Forms.ComboBox comboFont; + private System.Windows.Forms.ComboBox comboSize; + private System.Windows.Forms.Button btnUnderline; + private System.Windows.Forms.Button btnItalic; + private System.Windows.Forms.Button btnBold; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs new file mode 100644 index 0000000..1b7c619 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -0,0 +1,119 @@ +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 System.Drawing.Text; +using TimeHACK.Engine; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicWordPad : UserControl + { + bool btnBoldSelected = true; + bool btnItalicSelected; + bool btnUnderlineSelected; + bool doBold; + bool doItalic; + bool doUnderline; + public WinClassicWordPad() + { + InitializeComponent(); + foreach (ToolStripMenuItem item in topmenu.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; + } + + // Time to prepare to load all the fonts up for the combo boxes + + foreach (FontFamily font in System.Drawing.FontFamily.Families) + { + // Added to the ComboBox here + + comboFont.Items.Add(font.Name); + } + } + + private void btnBold_Click(object sender, EventArgs e) + { + if (btnBoldSelected == false) + { + btnBold.BackgroundImage = null; + btnBoldSelected = true; + + } else { + btnBold.BackgroundImage = Properties.Resources.sliversilver; + btnBoldSelected = false; + } + doBold = btnBoldSelected; + } + + private void btnItalic_Click(object sender, EventArgs e) + { + btnItalic.BackColor = Color.DimGray; // This is here to fix a "have to double click" bug! + if (btnItalicSelected == false) + { + btnItalic.BackgroundImage = Properties.Resources.sliversilver; + btnItalicSelected = true; + } + else + { + btnItalic.BackgroundImage = null; + btnItalicSelected = false; + } + doItalic = btnItalicSelected; + } + + private void btnUnderline_Click(object sender, EventArgs e) + { + btnUnderline.BackColor = Color.DimGray; // This is here to fix a "have to double click" bug! + if (btnUnderlineSelected == false) + { + btnUnderline.BackgroundImage = Properties.Resources.sliversilver; + btnUnderlineSelected = true; + } + else + { + btnUnderline.BackgroundImage = null; + btnUnderlineSelected = false; + } + doUnderline = btnUnderlineSelected; + } + + #region Designer-Stuff + private void toolbarToolStripMenuItem_Click(object sender, EventArgs e) + { + pnlToolbar.Visible = toolbarToolStripMenuItem.Checked; + } + + private void formatBarToolStripMenuItem_Click(object sender, EventArgs e) + { + pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked; + } + + private void statusBarToolStripMenuItem_Click(object sender, EventArgs e) + { + statusBar.Visible = statusBarToolStripMenuItem.Checked; + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + ((Form)this.TopLevelControl).Close(); + } + #endregion + + private void aboutWordpadToolStripMenuItem_Click(object sender, EventArgs e) + { + WindowManager wm = new WindowManager(); + wm.startAboutBox95("Wordpad", "Microsoft Wordpad", Properties.Resources.WinClassicWordpad); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx new file mode 100644 index 0000000..6dff4e6 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index 7e97012..d3e1e6a 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -371,6 +371,26 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicCopy { + get { + object obj = ResourceManager.GetObject("WinClassicCopy", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicCut { + get { + object obj = ResourceManager.GetObject("WinClassicCut", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -471,6 +491,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicNew { + get { + object obj = ResourceManager.GetObject("WinClassicNew", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -491,6 +521,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicPaste { + get { + object obj = ResourceManager.GetObject("WinClassicPaste", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -601,6 +641,26 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicUndo { + get { + object obj = ResourceManager.GetObject("WinClassicUndo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicWordpad { + get { + object obj = ResourceManager.GetObject("WinClassicWordpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Byte[]. /// diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index 0729d48..c5cbf16 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -291,4 +291,22 @@ ..\Resources\WinClassic\WinClassicHWCV.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\WinClassic\WinClassicCopy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicCut.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicPaste.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicUndo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicWordpad.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png b/TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png new file mode 100644 index 0000000..d497ff9 Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png differ diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicCut.png b/TimeHACK.Main/Resources/WinClassic/WinClassicCut.png new file mode 100644 index 0000000..ab1e962 Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicCut.png differ diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicNew.png b/TimeHACK.Main/Resources/WinClassic/WinClassicNew.png new file mode 100644 index 0000000..c7131e3 Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicNew.png differ diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png b/TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png new file mode 100644 index 0000000..44fccfc Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png differ diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png b/TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png new file mode 100644 index 0000000..b4c56f7 Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index fd33b37..24d2004 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -167,6 +167,12 @@ WinClassicInstaller.cs + + UserControl + + + WinClassicWordPad.cs + @@ -204,6 +210,9 @@ WinClassicInstaller.cs + + WinClassicWordPad.cs + ResXFileCodeGenerator Designer @@ -251,6 +260,8 @@ + + @@ -270,6 +281,8 @@ + + @@ -280,7 +293,9 @@ + + -- cgit v1.2.3 From 2c5d04a7708f5edd6d792c6938867a558cb955f8 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 29 Apr 2017 13:23:29 +0100 Subject: Finished wordpad! I've finished wordpad now - hope there aren't any conflicts --- .../OS/Win95/Win95Apps/Win95Notepad.Designer.cs | 85 +++++---- TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs | 47 +++++ .../Win95/Win95Apps/WinClassicWordPad.Designer.cs | 57 +++++- .../OS/Win95/Win95Apps/WinClassicWordPad.cs | 209 ++++++++++++++++++++- 4 files changed, 348 insertions(+), 50 deletions(-) diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs index 5865556..1355c93 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs @@ -52,7 +52,7 @@ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpTopicsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutNotepadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.textBox1 = new System.Windows.Forms.TextBox(); + this.mainText = new System.Windows.Forms.TextBox(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // @@ -66,7 +66,7 @@ this.helpToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(this.Width, 24); + this.menuStrip1.Size = new System.Drawing.Size(401, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // @@ -84,7 +84,7 @@ this.printToolStripMenuItem, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 20); + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // newToolStripMenuItem @@ -93,7 +93,7 @@ this.newToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.newToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.newToolStripMenuItem.Name = "newToolStripMenuItem"; - this.newToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.newToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.newToolStripMenuItem.Text = "New"; // // openToolStripMenuItem @@ -102,7 +102,7 @@ this.openToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.openToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.openToolStripMenuItem.Name = "openToolStripMenuItem"; - this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.openToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.openToolStripMenuItem.Text = "Open..."; // // saveToolStripMenuItem @@ -111,7 +111,7 @@ this.saveToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.saveToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.saveToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.saveToolStripMenuItem.Text = "Save"; // // saveAsToolStripMenuItem @@ -120,7 +120,7 @@ this.saveAsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.saveAsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; - this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.saveAsToolStripMenuItem.Text = "Save As..."; // // pageSetupToolStripMenuItem @@ -129,7 +129,7 @@ this.pageSetupToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.pageSetupToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; - this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.pageSetupToolStripMenuItem.Text = "Page Setup..."; // // printToolStripMenuItem @@ -138,7 +138,7 @@ this.printToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.printToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.printToolStripMenuItem.Name = "printToolStripMenuItem"; - this.printToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.printToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.printToolStripMenuItem.Text = "Print"; // // exitToolStripMenuItem @@ -147,7 +147,7 @@ this.exitToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.exitToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // @@ -166,7 +166,7 @@ this.timeDateToolStripMenuItem, this.wordWrapToolStripMenuItem}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; - this.editToolStripMenuItem.Size = new System.Drawing.Size(43, 20); + this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "Edit"; // // undoToolStripMenuItem @@ -175,8 +175,9 @@ this.undoToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.undoToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; - this.undoToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.undoToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.undoToolStripMenuItem.Text = "Undo"; + this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); // // cutToolStripMenuItem // @@ -184,8 +185,9 @@ this.cutToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.cutToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; - this.cutToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.cutToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.cutToolStripMenuItem.Text = "Cut"; + this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // // copyToolStripMenuItem // @@ -193,8 +195,9 @@ this.copyToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.copyToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; - this.copyToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.copyToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.copyToolStripMenuItem.Text = "Copy"; + this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // pasteToolStripMenuItem // @@ -202,8 +205,9 @@ this.pasteToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.pasteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; - this.pasteToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.pasteToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.pasteToolStripMenuItem.Text = "Paste"; + this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); // // deleteToolStripMenuItem // @@ -211,8 +215,9 @@ this.deleteToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.deleteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; - this.deleteToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.deleteToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.deleteToolStripMenuItem.Text = "Delete"; + this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // selectAllToolStripMenuItem // @@ -220,8 +225,9 @@ this.selectAllToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.selectAllToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; - this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.selectAllToolStripMenuItem.Text = "Select All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); // // timeDateToolStripMenuItem // @@ -229,17 +235,20 @@ this.timeDateToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.timeDateToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.timeDateToolStripMenuItem.Name = "timeDateToolStripMenuItem"; - this.timeDateToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.timeDateToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.timeDateToolStripMenuItem.Text = "Time/Date"; + this.timeDateToolStripMenuItem.Click += new System.EventHandler(this.timeDateToolStripMenuItem_Click); // // wordWrapToolStripMenuItem // this.wordWrapToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.wordWrapToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.wordWrapToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.wordWrapToolStripMenuItem.CheckOnClick = true; this.wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem"; - this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.wordWrapToolStripMenuItem.Text = "Word Wrap"; + this.wordWrapToolStripMenuItem.Click += new System.EventHandler(this.wordWrapToolStripMenuItem_Click); // // searchToolStripMenuItem // @@ -251,7 +260,7 @@ this.findToolStripMenuItem, this.findNextToolStripMenuItem}); this.searchToolStripMenuItem.Name = "searchToolStripMenuItem"; - this.searchToolStripMenuItem.Size = new System.Drawing.Size(61, 20); + this.searchToolStripMenuItem.Size = new System.Drawing.Size(54, 20); this.searchToolStripMenuItem.Text = "Search"; // // findToolStripMenuItem @@ -260,7 +269,7 @@ this.findToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.findToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.findToolStripMenuItem.Name = "findToolStripMenuItem"; - this.findToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.findToolStripMenuItem.Size = new System.Drawing.Size(124, 22); this.findToolStripMenuItem.Text = "Find..."; // // findNextToolStripMenuItem @@ -269,7 +278,7 @@ this.findNextToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.findNextToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem"; - this.findNextToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.findNextToolStripMenuItem.Size = new System.Drawing.Size(124, 22); this.findNextToolStripMenuItem.Text = "Find Next"; // // helpToolStripMenuItem @@ -282,7 +291,7 @@ this.helpTopicsToolStripMenuItem, this.aboutNotepadToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(46, 20); + this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.helpToolStripMenuItem.Text = "Help"; // // helpTopicsToolStripMenuItem @@ -292,7 +301,7 @@ this.helpTopicsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.helpTopicsToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.helpTopicsToolStripMenuItem.Name = "helpTopicsToolStripMenuItem"; - this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(167, 22); + this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.helpTopicsToolStripMenuItem.Text = "Help Topics"; // // aboutNotepadToolStripMenuItem @@ -302,29 +311,29 @@ this.aboutNotepadToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.aboutNotepadToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.aboutNotepadToolStripMenuItem.Name = "aboutNotepadToolStripMenuItem"; - this.aboutNotepadToolStripMenuItem.Size = new System.Drawing.Size(167, 22); + this.aboutNotepadToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.aboutNotepadToolStripMenuItem.Text = "About Notepad"; this.aboutNotepadToolStripMenuItem.Click += new System.EventHandler(this.aboutNotepadToolStripMenuItem_Click); // - // textBox1 + // mainText // - this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.mainText.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("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; - this.textBox1.Name = "textBox1"; - this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.textBox1.Size = new System.Drawing.Size(401, 207); - this.textBox1.TabIndex = 1; - this.textBox1.WordWrap = false; + this.mainText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.mainText.Location = new System.Drawing.Point(0, 27); + this.mainText.MaxLength = 131072; + this.mainText.Multiline = true; + this.mainText.Name = "mainText"; + this.mainText.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.mainText.Size = new System.Drawing.Size(401, 207); + this.mainText.TabIndex = 1; + this.mainText.WordWrap = false; // // Win95Notepad // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.textBox1); + this.Controls.Add(this.mainText); this.Controls.Add(this.menuStrip1); this.Name = "Win95Notepad"; this.Size = new System.Drawing.Size(401, 234); @@ -347,7 +356,7 @@ private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; - private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox mainText; private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs index 6542f4c..6ff7833 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs @@ -36,5 +36,52 @@ namespace TimeHACK.OS.Win95.Win95Apps WindowManager wm = new WindowManager(); wm.startAboutBox95("Notepad", "Microsoft Notepad", Properties.Resources.WinClassicNotepad); } + + private void wordWrapToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.WordWrap = wordWrapToolStripMenuItem.Checked; + } + + private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.SelectAll(); + } + + private void undoToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.Undo(); + } + + private void cutToolStripMenuItem_Click(object sender, EventArgs e) + { + if (mainText.SelectedText.Length >= 0) + { + mainText.Cut(); + } + } + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + if (mainText.SelectedText.Length >= 0) + { + mainText.Copy(); + } + } + + private void pasteToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.Paste(); + } + + private void deleteToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); + } + + private void timeDateToolStripMenuItem_Click(object sender, EventArgs e) + { + string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"); + mainText.AppendText(DateTime); + } } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs index 31ea957..94c3303 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs @@ -111,6 +111,7 @@ this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.newToolStripMenuItem.Text = "New"; + this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); // // toolStripSeparator1 // @@ -122,11 +123,12 @@ this.sendToolStripMenuItem.Name = "sendToolStripMenuItem"; this.sendToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.sendToolStripMenuItem.Text = "Send..."; + this.sendToolStripMenuItem.Click += new System.EventHandler(this.sendToolStripMenuItem_Click); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // @@ -150,6 +152,7 @@ this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.undoToolStripMenuItem.Text = "Undo"; + this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); // // toolStripSeparator2 // @@ -161,18 +164,21 @@ this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.cutToolStripMenuItem.Text = "Cut"; + this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.copyToolStripMenuItem.Text = "Copy"; + this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.pasteToolStripMenuItem.Text = "Paste"; + this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); // // toolStripSeparator3 // @@ -184,12 +190,14 @@ this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.clearToolStripMenuItem.Text = "Clear"; + this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click); // // selectAllToolStripMenuItem // this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.selectAllToolStripMenuItem.Text = "Select All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); // // viewToolStripMenuItem // @@ -207,7 +215,7 @@ this.toolbarToolStripMenuItem.CheckOnClick = true; this.toolbarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem"; - this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.toolbarToolStripMenuItem.Text = "Toolbar"; this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click); // @@ -217,7 +225,7 @@ this.formatBarToolStripMenuItem.CheckOnClick = true; this.formatBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.formatBarToolStripMenuItem.Name = "formatBarToolStripMenuItem"; - this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.formatBarToolStripMenuItem.Text = "Format Bar"; this.formatBarToolStripMenuItem.Click += new System.EventHandler(this.formatBarToolStripMenuItem_Click); // @@ -227,7 +235,7 @@ this.statusBarToolStripMenuItem.CheckOnClick = true; this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem"; - this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.statusBarToolStripMenuItem.Text = "Status Bar"; this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click); // @@ -244,6 +252,7 @@ this.dateTimeToolStripMenuItem.Name = "dateTimeToolStripMenuItem"; this.dateTimeToolStripMenuItem.Size = new System.Drawing.Size(130, 22); this.dateTimeToolStripMenuItem.Text = "Date/Time"; + this.dateTimeToolStripMenuItem.Click += new System.EventHandler(this.dateTimeToolStripMenuItem_Click); // // formatToolStripMenuItem // @@ -255,9 +264,11 @@ // // bulletStyleToolStripMenuItem // + this.bulletStyleToolStripMenuItem.CheckOnClick = true; this.bulletStyleToolStripMenuItem.Name = "bulletStyleToolStripMenuItem"; - this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(131, 22); + this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.bulletStyleToolStripMenuItem.Text = "Bullet style"; + this.bulletStyleToolStripMenuItem.Click += new System.EventHandler(this.bulletStyleToolStripMenuItem_Click); // // helpToolStripMenuItem // @@ -319,6 +330,7 @@ this.btnPaste.Size = new System.Drawing.Size(26, 23); this.btnPaste.TabIndex = 1; this.btnPaste.UseVisualStyleBackColor = true; + this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnCopy // @@ -329,6 +341,7 @@ this.btnCopy.Size = new System.Drawing.Size(26, 23); this.btnCopy.TabIndex = 1; this.btnCopy.UseVisualStyleBackColor = true; + this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnCut // @@ -339,6 +352,7 @@ this.btnCut.Size = new System.Drawing.Size(26, 23); this.btnCut.TabIndex = 1; this.btnCut.UseVisualStyleBackColor = true; + this.btnCut.Click += new System.EventHandler(this.btnCut_Click); // // btnNew // @@ -349,6 +363,7 @@ this.btnNew.Size = new System.Drawing.Size(26, 23); this.btnNew.TabIndex = 1; this.btnNew.UseVisualStyleBackColor = true; + this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // pictureBox1 // @@ -379,10 +394,30 @@ // comboSize // this.comboSize.FormattingEnabled = true; + this.comboSize.Items.AddRange(new object[] { + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "16", + "18", + "20", + "22", + "24", + "26", + "28", + "36", + "48", + "72"}); this.comboSize.Location = new System.Drawing.Point(157, 3); this.comboSize.Name = "comboSize"; this.comboSize.Size = new System.Drawing.Size(50, 21); this.comboSize.TabIndex = 1; + this.comboSize.Text = "12"; + this.comboSize.SelectedIndexChanged += new System.EventHandler(this.comboSize_SelectedIndexChanged); // // comboFont // @@ -391,6 +426,8 @@ this.comboFont.Name = "comboFont"; this.comboFont.Size = new System.Drawing.Size(145, 21); this.comboFont.TabIndex = 1; + this.comboFont.Text = "Arial"; + this.comboFont.SelectedIndexChanged += new System.EventHandler(this.comboFont_SelectedIndexChanged); // // pictureBox2 // @@ -415,6 +452,8 @@ this.btnUnderline.Text = "U"; this.btnUnderline.UseVisualStyleBackColor = false; this.btnUnderline.Click += new System.EventHandler(this.btnUnderline_Click); + this.btnUnderline.MouseEnter += new System.EventHandler(this.btnUnderline_MouseEnter); + this.btnUnderline.MouseLeave += new System.EventHandler(this.btnUnderline_MouseLeave); // // btnItalic // @@ -428,6 +467,8 @@ this.btnItalic.Text = "I"; this.btnItalic.UseVisualStyleBackColor = false; this.btnItalic.Click += new System.EventHandler(this.btnItalic_Click); + this.btnItalic.MouseEnter += new System.EventHandler(this.btnItalic_MouseEnter); + this.btnItalic.MouseLeave += new System.EventHandler(this.btnItalic_MouseLeave); // // btnBold // @@ -441,6 +482,8 @@ this.btnBold.Text = "B"; this.btnBold.UseVisualStyleBackColor = false; this.btnBold.Click += new System.EventHandler(this.btnBold_Click); + this.btnBold.MouseEnter += new System.EventHandler(this.btnBold_MouseEnter); + this.btnBold.MouseLeave += new System.EventHandler(this.btnBold_MouseLeave); // // statusBar // @@ -458,9 +501,9 @@ this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.Location = new System.Drawing.Point(3, 1); this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(119, 16); + this.lblStatus.Size = new System.Drawing.Size(210, 16); this.lblStatus.TabIndex = 0; - this.lblStatus.Text = "For Help, Press F1"; + this.lblStatus.Text = "For Help, goto Help -> Help topics"; // // WinClassicWordPad // diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs index 1b7c619..f270eac 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -14,6 +14,8 @@ namespace TimeHACK.OS.Win95.Win95Apps { public partial class WinClassicWordPad : UserControl { + WindowManager wm = new WindowManager(); + bool btnBoldSelected = true; bool btnItalicSelected; bool btnUnderlineSelected; @@ -42,6 +44,8 @@ namespace TimeHACK.OS.Win95.Win95Apps } } + #region Format_Buttons + private void btnBold_Click(object sender, EventArgs e) { if (btnBoldSelected == false) @@ -54,11 +58,11 @@ namespace TimeHACK.OS.Win95.Win95Apps btnBoldSelected = false; } doBold = btnBoldSelected; + DoFontStyles(); } private void btnItalic_Click(object sender, EventArgs e) { - btnItalic.BackColor = Color.DimGray; // This is here to fix a "have to double click" bug! if (btnItalicSelected == false) { btnItalic.BackgroundImage = Properties.Resources.sliversilver; @@ -70,11 +74,11 @@ namespace TimeHACK.OS.Win95.Win95Apps btnItalicSelected = false; } doItalic = btnItalicSelected; + DoFontStyles(); } private void btnUnderline_Click(object sender, EventArgs e) { - btnUnderline.BackColor = Color.DimGray; // This is here to fix a "have to double click" bug! if (btnUnderlineSelected == false) { btnUnderline.BackgroundImage = Properties.Resources.sliversilver; @@ -86,9 +90,16 @@ namespace TimeHACK.OS.Win95.Win95Apps btnUnderlineSelected = false; } doUnderline = btnUnderlineSelected; + DoFontStyles(); } + #endregion + #region Designer-Stuff + private void dateTimeToolStripMenuItem_Click(object sender, EventArgs e) + { + InsertDateTime(); + } private void toolbarToolStripMenuItem_Click(object sender, EventArgs e) { pnlToolbar.Visible = toolbarToolStripMenuItem.Checked; @@ -108,12 +119,200 @@ namespace TimeHACK.OS.Win95.Win95Apps { ((Form)this.TopLevelControl).Close(); } - #endregion private void aboutWordpadToolStripMenuItem_Click(object sender, EventArgs e) { - WindowManager wm = new WindowManager(); wm.startAboutBox95("Wordpad", "Microsoft Wordpad", Properties.Resources.WinClassicWordpad); } + + private void newToolStripMenuItem_Click(object sender, EventArgs e) + { + NewFile(); + } + + private void btnNew_Click(object sender, EventArgs e) + { + NewFile(); + } + + private void sendToolStripMenuItem_Click(object sender, EventArgs e) + { + wm.startInfobox95("Wordpad", "An error occured opening send option.", null); + } + + void Cut() + { + if (mainText.SelectedText.Length >= 0) { + mainText.Cut(); + } + } + + void Copy() + { + if (mainText.SelectedText.Length >= 0) + { + mainText.Copy(); + } + } + + void Paste() + { + mainText.Paste(); + } + + void Clear() + { + mainText.Text = mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); + } + + void SelectAll() + { + mainText.SelectAll(); + } + + private void undoToolStripMenuItem_Click(object sender, EventArgs e) + { + Undo(); + } + + private void cutToolStripMenuItem_Click(object sender, EventArgs e) + { + Cut(); + } + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + Copy(); + } + + private void pasteToolStripMenuItem_Click(object sender, EventArgs e) + { + Paste(); + } + + private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) + { + SelectAll(); + } + + private void clearToolStripMenuItem_Click(object sender, EventArgs e) + { + Clear(); + } + + private void btnCut_Click(object sender, EventArgs e) + { + Cut(); + } + + private void btnCopy_Click(object sender, EventArgs e) + { + Copy(); + } + + private void btnPaste_Click(object sender, EventArgs e) + { + Paste(); + } + + private void bulletStyleToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.SelectionBullet = bulletStyleToolStripMenuItem.Checked; + } + + private void comboFont_SelectedIndexChanged(object sender, EventArgs e) + { + SetSelectedTextFont(comboFont.Text); + } + + private void comboSize_SelectedIndexChanged(object sender, EventArgs e) + { + SetSelectedTextSize(comboSize.Text); + } + private void btnBold_MouseEnter(object sender, EventArgs e) + { + lblStatus.Text = "Makes the selected text Bold. (toggle)"; + } + + private void btnBold_MouseLeave(object sender, EventArgs e) + { + lblStatus.Text = "For Help, goto Help -> Help Topics"; + } + + private void btnItalic_MouseEnter(object sender, EventArgs e) + { + lblStatus.Text = "Makes the selected text Italic. (toggle)"; + } + + private void btnItalic_MouseLeave(object sender, EventArgs e) + { + lblStatus.Text = "For Help, goto Help -> Help Topics"; + } + + private void btnUnderline_MouseEnter(object sender, EventArgs e) + { + lblStatus.Text = "Makes the selected text Underline. (toggle)"; + } + + private void btnUnderline_MouseLeave(object sender, EventArgs e) + { + lblStatus.Text = "For Help, goto Help -> Help Topics"; + } + #endregion + + void NewFile() + { + mainText.Text = ""; + } + + void Undo() + { + mainText.Undo(); + } + + void InsertDateTime() + { + string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"); + mainText.AppendText(DateTime); + } + + // Things for Cut/Copy/Paste have been placed in the "Designer-Stuff" region! + + void SetSelectedTextFont(String font) + { + // The next two lines convert a String to a Font + var cvt = new FontConverter(); + Font f = cvt.ConvertFromString(font) as Font; + + mainText.SelectionFont = f; + } + + void SetSelectedTextSize(String size) + { + // The next few lines will ATTEMPT to convert a String to an Integer + int SizeInt = Convert.ToInt32(size); + + mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, SizeInt, mainText.SelectionFont.Style); + } + + void DoFontStyles() + { + FontStyle Bold = FontStyle.Regular; + FontStyle Italic = FontStyle.Regular; + FontStyle Underline = FontStyle.Regular; + if (doBold == true) + { + Bold = FontStyle.Bold; + } + if (doItalic == true) + { + Italic = FontStyle.Italic; + } + if (doUnderline == true) + { + Underline = FontStyle.Underline; + } + mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, mainText.SelectionFont.Size, Bold | Italic | Underline); + } } -} +} \ No newline at end of file -- cgit v1.2.3