diff options
| author | lempamo <[email protected]> | 2017-04-29 08:50:38 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-04-29 08:50:38 -0400 |
| commit | 18b10c1d62896c67e82e4a358f9ccfb45c32b5dc (patch) | |
| tree | 5577d2d1c42d2243341034c6a1536f225fc6655b /TimeHACK.Main | |
| parent | a2e3f6358a2c7c25d5366bec4f75138ed3413305 (diff) | |
| parent | c29b5e3db9e668c3ec4a7dcf6cb81f0641e6413d (diff) | |
| download | histacom2-18b10c1d62896c67e82e4a358f9ccfb45c32b5dc.tar.gz histacom2-18b10c1d62896c67e82e4a358f9ccfb45c32b5dc.tar.bz2 histacom2-18b10c1d62896c67e82e4a358f9ccfb45c32b5dc.zip | |
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main')
19 files changed, 1403 insertions, 235 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index 36f249a..3fedcd1 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); @@ -142,9 +142,9 @@ | System.Windows.Forms.AnchorStyles.Right))); this.panel1.AutoSize = true; this.panel1.Controls.Add(this.panel2); - this.panel1.Location = new System.Drawing.Point(0, 691); + this.panel1.Location = new System.Drawing.Point(0, 451); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1280, 29); + this.panel1.Size = new System.Drawing.Size(640, 29); this.panel1.TabIndex = 0; // // panel2 @@ -162,9 +162,9 @@ this.taskbar.Controls.Add(this.clockPanel); this.taskbar.Controls.Add(this.startbutton); this.taskbar.Dock = System.Windows.Forms.DockStyle.Bottom; - this.taskbar.Location = new System.Drawing.Point(0, 692); + this.taskbar.Location = new System.Drawing.Point(0, 452); this.taskbar.Name = "taskbar"; - this.taskbar.Size = new System.Drawing.Size(1280, 28); + this.taskbar.Size = new System.Drawing.Size(640, 28); this.taskbar.TabIndex = 2; // // taskbartime @@ -172,7 +172,7 @@ this.taskbartime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.taskbartime.AutoSize = true; this.taskbartime.BackColor = System.Drawing.Color.Transparent; - this.taskbartime.Location = new System.Drawing.Point(1217, 6); + this.taskbartime.Location = new System.Drawing.Point(577, 6); this.taskbartime.Name = "taskbartime"; this.taskbartime.Size = new System.Drawing.Size(26, 13); this.taskbartime.TabIndex = 2; @@ -183,7 +183,7 @@ // this.clockPanel.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicTime; this.clockPanel.Dock = System.Windows.Forms.DockStyle.Right; - this.clockPanel.Location = new System.Drawing.Point(1215, 0); + this.clockPanel.Location = new System.Drawing.Point(575, 0); this.clockPanel.Name = "clockPanel"; this.clockPanel.Size = new System.Drawing.Size(65, 28); this.clockPanel.TabIndex = 4; @@ -204,7 +204,7 @@ this.startmenu.BackColor = System.Drawing.Color.Silver; this.startmenu.Controls.Add(this.startmenuitems); this.startmenu.Controls.Add(this.ossidestartmenu); - this.startmenu.Location = new System.Drawing.Point(0, 397); + this.startmenu.Location = new System.Drawing.Point(0, 157); this.startmenu.Name = "startmenu"; this.startmenu.Size = new System.Drawing.Size(174, 300); this.startmenu.TabIndex = 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, 292); 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 @@ -954,7 +955,7 @@ this.desktopicons.LargeImageList = this.desktopImages; this.desktopicons.Location = new System.Drawing.Point(0, 0); this.desktopicons.Name = "desktopicons"; - this.desktopicons.Size = new System.Drawing.Size(1280, 720); + this.desktopicons.Size = new System.Drawing.Size(640, 480); this.desktopicons.TabIndex = 6; this.desktopicons.UseCompatibleStateImageBehavior = false; this.desktopicons.DoubleClick += new System.EventHandler(this.desktopicons_Click); @@ -1119,7 +1120,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Teal; - this.ClientSize = new System.Drawing.Size(1280, 720); + this.ClientSize = new System.Drawing.Size(640, 480); this.Controls.Add(this.taskbar); this.Controls.Add(this.startmenu); this.Controls.Add(this.panel1); 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= </value> </data> - <data name="startmenuitems.TrayLocation" type="System.Drawing.Point, System.Drawing"> + <metadata name="startmenuitems.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> + </metadata> + <data name="InternetConnectionWizardToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N + kgEOwCAIA3m6T/NnG6UwBZ1bk6pTemIy2am1dlX70VlR3Hu/IBE1wr5/BOEQymFZLRvIHMZtGjUjEHOG + mIdS214UkGi92qM5zDnCENfYn+0AQvAxC2/nHsNe+HgLwCbEmW1HmLOOZtYuAB0SJKAsivAPgBXpOgNQ + PPwCyDcF4M0TAIZw84CUgq1TF2xvhP+oACBCAoBW9dg6szWLzeUZs9Y/7mQNVMCjOPywyA3MF+cOKQF9 + RAAAAABJRU5ErkJggg== +</value> + </data> + <data name="NetMeetingToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAKpJREFUOE/N + UskNgDAMy+gdrZsVO3cL/HhgySKJD/WB/BdjjNXpZ9wFu+R+QwTmnDAtY5UsbErOGuiIIKmBoJYwwEJ7 + QZbEk066qCHbo8R0Qj0OPbA1vrxpCKxSm3dPIYWtwMNED28Fp5Ai7lWwe17DFNKwFRBHmKj2EDCZ4eEF + pxeIdj+AnH33gtIeGO11jAJQw20X+5nAG7SE5GykuTO1V5yGHur3LyFyAZP8TrljsWNAAAAAAElFTkSu + QmCC +</value> + </data> + <data name="CDPlayerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcwxstlzQAAALVJREFU + OE+dj4ERwyAMAxmd0diMImMZYaC9q3xOIJaeUP5Q936r1tpz+wgi4ATR3Huxbq1FC4ihHWDDEWM4A9jD + ukJczzBqRl8AD+iVMgB1B7j5BGATpqgJ4XfbeTi8vt8ANnCAn2JvnZuH4RvADKgx5MnHfAHm/bMB0j8A + KnueAEjX+Bs+1RcAiBBITWYUACEjssIQAFAOmzmissoAKF9FARvkFqYAySACxvh7WEXQWP4IlvIBh1rl + tmCAq4kAAAAASUVORK5CYII= +</value> + </data> + <data name="SoundRecorderToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcZhHn9oQAAAJ9JREFU + OE+VkAEOxCAIBH26P6s/8zrgeqTS05uEKMouaNnQR/zPdZVeazWDsZ6DuHfv3lqz8JsDJKYrgRiyKZYz + ieFOpxhiscxH6sIojuMLCV669lD8nYAQi1CosxusE7DCoQG44L6SyPL4hBic2ftJnhMQQsVvWHH8SPLs + E3dME/aZwYnRfBIholB3I00xE1amIDLBscmu8Bdm4NuMUj70z1LCUTedOwAAAABJRU5ErkJggg== +</value> + </data> + <data name="VolumeControlToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcbanecjQAAAItJREFU + OE+VjgEOhCAMBHk6T+Nn2iFuXEEtTLLBbNu5K6LWeuzkOruhXCXWvwWttd9cv74miLrHu1TASyQAHSr0 + /chh4PiBz/iO9W+B/mpUj6hPBbxEEtChQt+PHAbOKBCpgGUl6qlLBbxkFKgn9P3IYeCMApEKWFaEd1uC + t6QC3iyxPgsCDVYTlHICH5QKXtIjRNoAAAAASUVORK5CYII= +</value> + </data> + <data name="WindowsMediaPlayerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCgUfVCd0wAAAHpJREFU + OE+djgsOgDAIQzn6bubRlF+zOZV1vqRBGK0IS2vthHK0ZjQBHdcBhcllc9t7UJnsvSSM4tKWM03cAvLM + Ve3YwNBPuqYCJONxVbGvCnABSx2QfwJjK0c03wHYzjq1RICB7WRsf10AeU9dQPAasCu19YAEww2JXJGJ + 13tFDjjJAAAAAElFTkSuQmCC +</value> + </data> + <data name="DiskDefragmenterToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAMFJREFUOE+V + kAsShDAIQzk6R/Nm3SSU2g/uaJxMi5Bnq81yt0b38pCbnz03hGDtEaYq0HVdraF9QBiORoAyXIFKyAhO + IG6m8P+TRDDMPV4JkBDWGkSNYe0JcS8AGoArAEPYDcjQAcgheL9CCVkAU1iP3sd9887L8akDkE//OoMo + ByhSkxYAl3x0EgTg6QTk3FZ/B6TRpLSiHoAOpXWVR8D4wgYopMad7KAPgJQGIh3WMbEu/+CFNEhAhKPu + /qQXQbMf8nZYxbrHLzUAAAAASUVORK5CYII= +</value> + </data> + <data name="ScanDiskToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAACmSURBVDhPnZFR + EsQgCEM9ukfzZl0CREmrO7uNw0ghL360ndR7v7L9X4BfBxDeVVrOmsaLQqd1DKowK7QmYwxvza4hC66H + UpiV6IJlm+UQOnvxvg7aBAPkIWpY87rICtpkX/4SX5MgmkvnxzD4JIC3BCUGzZCEfWb9I4D3M2gDp3xY + oXsQ9vRAYAJVbYNqAARf2M+aQa3Hr2QAdmH5TTPoDVz1BW7tA7ajvYP7sMmIAAAAAElFTkSuQmCC +</value> + </data> + <data name="AddressBookToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAG1JREFUOE/N + j1sOgCAQAzk6N/exdqRsAuqH0THNrm2DWP5DrXVxyQ5mWRc6FLO/Wa5WYBKyZyLfn9EBoMJwl65vwA4p + e+EGDkXneJ8coODcM+TSvV9wwmfu5C8jPOZA7YCMleT0KAu68kN9TikrCNOnE4xyRLMAAAAASUVORK5C + YII= +</value> </data> <data name="CalculatorToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> @@ -147,6 +228,14 @@ TkSuQmCC </value> </data> + <data name="ImagingToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAH9JREFUOE+l + jgESgCAIBHk6T/NnxjFCVlBKzJyhc7sTEXH/FzmYqJSLYHdCAc40AMaOqQmGBJMKmOVx7B6UeUGgsMQk + +jV4RQDYAri1dsKTBPMqcBilG/z5BwZbIgkmFNxhl0ww7trdESDo2K7dTJBGOrZrNxLszENQiQvq4X4A + JbFDpxtWNlIAAAAASUVORK5CYII= +</value> + </data> <data name="NotePadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -156,6 +245,16 @@ BSJKDySVfIiSNKD1AAAAAElFTkSuQmCC </value> </data> + <data name="OnlineRegistrationToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAACzSURBVDhPhZJR + EsUgCAN7dI7mzawRl1KLU2fygMimfryr9/6rcUY53FVmluDWmpoxFveViQSZuU4h72GMyMwm5AF2DPnA + QPTM9FIOCTiMBarSI1712qeZwwbkkApejBuqLLK8h7Cb5T8HGI8QBLPq8+wdzr722FUNL7+gEsuE06MI + qELk6T7DOhNcwTNAcuMJAZYAdQgiJAIk/kAZdr8OmCHD+5UWeRkBfKgEduUAYL/r1w0ie5EGNPvMCQAA + AABJRU5ErkJggg== +</value> + </data> <data name="PaintToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -166,6 +265,15 @@ VdEYP35ybB/eOVN7AAAAAElFTkSuQmCC </value> </data> + <data name="PhoneDialerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAK5JREFUOE+V + kAESwyAIBH06T/Nnlju8FNFJ7c0w0sBuTVqNWRu15uh3sDzGXleiDJsZlnleiyTwloXgzGLVUTIfcqH3 + zhO/UZrlG20S/RNg9JLodSSUAD045gR/JUj0vsoeM/SEkRAosVBhQTgPgvy1lfVWBazw8KGxsiiDGdbr + gKfAWwJIFp3AuFF8WPAUaOBPwuJJSwuomjNmWcqiF/CBczbRLVjziP4Fay7A1j6MmatnPf0QdQAAAABJ + RU5ErkJggg== +</value> + </data> <data name="WordPadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -175,18 +283,54 @@ aQNok1HVambm9gBAYeI/oBSQZwAAAABJRU5ErkJggg== </value> </data> - <data name="clockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing"> - <value>153, 17</value> + <data name="InternetExplorerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACVSURBVDhPlZELEsQgDEI9em7uBhVN2HTtvhmqotBf+4/e + s36ih6mIrgcmARX2CdaJE/brnn+LJZhvYFo3czeFp3/W0U9UYWgjfiq4honsr5I6/EZewDDG8sBNMwgY + iAUvQMG5+7VA9vcTBENKzPCB4T284ikYTFNKao1SH3IBwHwdqIroJ7hJxvxJGf+Hy2RJLLrR2gerBkDv + 4H+zGwAAAABJRU5ErkJggg== +</value> </data> - <data name="desktopImages.TrayLocation" type="System.Drawing.Point, System.Drawing"> - <value>263, 17</value> + <data name="MSDOSPromptToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC7SURBVDhPdU8BEgQhCOrp/bwT0WKpY4bRCMlGYc05FyqP + CdWSOD98Y5QI7KqaDbqXAX9MwOvu6/EAMQPde9CBD5upez1rvQNQi8DWlaUn1jRCi1ghAg55LwHRbTIA + Qy3hxWjWlxKULttgfTbBQPeotskJaNNMHo0BvVX7kgkNCFwBQFQG+OvAFcCQdwB6bARSp9rmJHpofYZZ + Xs3+CnAysLapAaV+Yw8o+Q0SHgw4d8A93OQGJIdkMDjGD7QCaoJbLIxPAAAAAElFTkSuQmCC +</value> + </data> + <data name="OutlookExpressToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACVSURBVDhPlZCBEoAgCEP9dP6cGrCa5ZG9u51GbKKjxz21 + jZWBwjfYCjE3Ozt9SICGtDzNhBN9hKxPVjUBMNcums22Rr5BQIZwXCjJsK0JwlSNDKHwPmulJ4iA2Kik + 8eyYQQ3lWkHeX1U/ZjOCb6MG8M4zZbuAuQ1QYFcpZeGaPAM6ytIH6OmQUhauyeoNPnj1o/BDww9Iu0V1 + d9BzlgAAAABJRU5ErkJggg== +</value> </data> + <data name="WindowsExplorerToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACSSURBVDhPrZGBDoAgCET9dP7c5OBSEme2brsw8J6uCiUi + 9Wkf7cXNtZZQX0FW4RGSWWeQvpxKBHCDdEA8sS1Rs5ulgLDGE70UkgKmsNo0QZaAKWyVAYS1bm+AAasD + GNaaArhGM4T1o0ZICuhD+wPqG6jnNhMyAXhC5rajRQxAiPUd4GJj4Qjx/ql+h3wCQEO4lAsJcX7eS0qA + zQAAAABJRU5ErkJggg== +</value> + </data> + <metadata name="clockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>153, 17</value> + </metadata> + <metadata name="desktopImages.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>263, 17</value> + </metadata> <data name="desktopImages.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> <value> AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADs - ggAAAk1TRnQBSQFMAgEBDAEAAQQBAQEIAQEBIAEAASABAAT/ASEBEAj/AUIBTQE2BwABNgMAASgDAAGA + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq + ggAAAk1TRnQBSQFMAgEBDAEAARABAQEQAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA AwABgAMAAQEBAAEgBwABAf8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AXAAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/x8AAf8DAAH/ @@ -744,16 +888,15 @@ AeABAwHwAwAB/gIAAQcEAAHwAgABAwH4AgABAQH+AgABBwQAAfgCAAEHAfgCAAEBAf4CAAEHBAAB/AIA AQcB/AIAAQMB/gIAAQcDAAEBAf4CAAEOAfwCAAEDAf4CAAEHAYABAAP/AgABHgH8AgABBwH+AgABBwHA AQED/wHAAQABfgH8AgABDwH+AgABBwHgAQMD/wH4AQEB/gH8AgABHwH/AgABBwHwAQcE/wHhAvwCAAE/ - Af8BgAEAAQcG/wH8AXkB/wIAAv8BwAEAAQ8H/wEDAf8BxAEDAf8WAAs= + Af8BgAEAAQcG/wH8AXkB/wIAAv8BwAEAAQ8H/wEDAf8BxAEDAf8L </value> </data> - <data name="rightclickbackproperties.TrayLocation" type="System.Drawing.Point, System.Drawing"> + <metadata name="rightclickbackproperties.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>398, 17</value> - </data> - <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> - <data name="$this.TrayHeight" type="System.Int32, mscorlib"> + </metadata> + <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>63</value> - </data> + </metadata> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> AAABAAUAEBAAAAAAIABoBAAAVgAAACAgAAAAACAAqBAAAL4EAAAwMAAAAAAgAKglAABmFQAAQEAAAAAA @@ -2420,158 +2563,4 @@ AAAAAAAAAAAAAAAAAAAAAAAA </value> </data> - <data name="AddressBookToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAABtSURBVDhPzY9bDoAgEAM5Ojf3sXakbALqh9Exza5tg1j+Q611cckOZlkXOhSzv1muVmASsmci - 35/RAaDCcJeub8AOKXvhBg5F53ifHKDg3DPk0r1fcMJn7uQvIzzmQO2AjJXk9CgLuvJDfU4pKwjTpxOM - ckSzAAAAAElFTkSuQmCC -</value> - </data> - <data name="CDPlayerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+EECBQn - MMbLZc0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDQtMDhUMjA6Mzk6NDgrMDA6MDC25zrZAAAAJXRF - WHRkYXRlOm1vZGlmeQAyMDE3LTA0LTA4VDIwOjM5OjQ4KzAwOjAwx7qCZQAAALVJREFUOE+dj4ERwyAM - Axmd0diMImMZYaC9q3xOIJaeUP5Q936r1tpz+wgi4ATR3Huxbq1FC4ihHWDDEWM4A9jDukJczzBqRl8A - D+iVMgB1B7j5BGATpqgJ4XfbeTi8vt8ANnCAn2JvnZuH4RvADKgx5MnHfAHm/bMB0j8AKnueAEjX+Bs+ - 1RcAiBBITWYUACEjssIQAFAOmzmissoAKF9FARvkFqYAySACxvh7WEXQWP4IlvIBh1rltmCAq4kAAAAA - SUVORK5CYII= -</value> - </data> - <data name="DiskDefragmenterToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAADBSURBVDhPlZALEoQwCEM5OkfzZt0klNoP7micTIuQZ6vNcrdG9/KQm589N4Rg7RGmKtB1Xa2h - fUAYjkaAMlyBSsgITiBupvD/k0QwzD1eCZAQ1hpEjWHtCXEvABqAKwBD2A3I0AHIIXi/QglZAFNYj97H - ffPOy/GpA5BP/zqDKAcoUpMWAJd8dBIE4OkE5NxWfwek0aS0oh6ADqV1lUfA+MIGKKTGneygD4CUBiId - 1jGxLv/ghTRIQISj7v6kF0GzH/J2WMW6xy81AAAAAElFTkSuQmCC -</value> - </data> - <data name="ImagingToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAB/SURBVDhPpY4BEoAgCAR5Ok/zZ8YxQlZQSsycoXO7ExFx/xc5mKiUi2B3QgHONADGjqkJhgST - CpjlcewelHlBoLDEJPo1eEUA2AK4tXbCkwTzKnAYpRv8+QcGWyIJJhTcYZdMMO7a3REg6Niu3UyQRjq2 - azcS7MxDUIkL6uF+ACWxQ6cbVjZSAAAAAElFTkSuQmCC -</value> - </data> - <data name="InternetConnectionWizardToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAC0SURBVDhPjZIBDsAgCAN5uk/zZxulMAWdW5OqU3piMtmptXZV+9FZUdx7vyARNcK+fwThEMph - WS0byBzGbRo1IxBzhpiHUtteFJBovdqjOcw5whDX2J/tAELwMQtv5x7DXvh4C8AmxJltR5izjmbWLgAd - EiSgLIrwD4AV6ToDUDz8Asg3BeDNEwCGcPOAlIKtUxdsb4T/qAAgQgKAVvXYOrM1i83lGbPWP+5kDVTA - ozj8sMgNzBfnDikBfUQAAAAASUVORK5CYII= -</value> - </data> - <data name="InternetExplorerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTM0A1t6 - AAAAoklEQVQ4T42RUQKAIAhDPTo3NxiiUzH9WOHcXlal1vqsolcWvNhctYZDW4YNN2Uq7BKNHQBcNmuU - VjkEM5JYWFmqiFscZjD76DFgL1sm9tcTEeBWDmUQbGTlNykgynZPAzc5QOdeGACQLwJgPP0fkH6D+ejt - WBQSsQ9s3uEVAzCesENytd/IABi6+Ae53/NealOYWAdoVmR61hwMOoVs/aZaPn7mPAKI8RdPAAAAAElF - TkSuQmCC -</value> - </data> - <data name="MSDOSPromptToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTM0A1t6 - AAAAx0lEQVQ4T3WQARLEIAwCfbpP689SCaI01puhKsI2vRYRbfyi945NPM+Tck/CWR562cUDpkpe9r2K - nvkA/kI3gHQFaBVA8gx6B6CGKkBnrVdALch3wUtAXhbBaw0hCYAt3htgLEsEoCQLbxwbfvKSgTJVJojP - JChoj7VMsgEK9dT2CNBUysHHQjfDNL6AGRoPAvzt8+4EEPIPyPz8H+jTzfA0WLQzwvbNuT8AVQTOaWbB - ZcBdcPEzKGRQqFqAsyxxAoolK45Jor30KtZzqejc3wAAAABJRU5ErkJggg== -</value> - </data> - <data name="NetMeetingToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAACqSURBVDhPzVLJDYAwDMvoHa2bFTt3C/x4YMkiiQ/1gfwXY4zV6WfcBbvkfkME5pwwLWOVLGxK - zhroiCCpgaCWMMBCe0GWxJNOuqgh26PEdEI9Dj2wNb68aQisUpt3TyGFrcDDRA9vBaeQIu5VsHtewxTS - sBUQR5io9hAwmeHhBacXiHY/gJx994LSHhjtdYwCUMNtF/uZwBu0hORspLkztVechh7q9y8hcgGT/E65 - Y7FjQAAAAABJRU5ErkJggg== -</value> - </data> - <data name="OnlineRegistrationToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTM0A1t6 - AAAAs0lEQVQ4T4WSURLFIAgDe3SO5s2sEZdSi1Nn8oDIpn68q/f+q3FGOdxVZpbg1pqaMRb3lYkEmblO - Ie9hjMjMJuQBdgz5wED0zPRSDgk4jAWq0iNe9dqnmcMG5JAKXowbqiyyvIewm+U/BxiPEASz6vPsHc6+ - 9thVDS+/oBLLhNOjCKhC5Ok+wzoTXMEzQHLjCQGWAHUIIiQCJP5AGXa/Dpghw/uVFnkZAXyoBHblAGC/ - 69cNInuRBjT7zAkAAAAASUVORK5CYII= -</value> - </data> - <data name="OutlookExpressToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTM0A1t6 - AAAAmklEQVQ4T7WQbRKAIAhEPTpH82bErpH4mf2ImWeG7MspqeqSZCuIvZ72JQk7FbE2+ni0QadubFik - vM4kK8rShbm5+28SLvMvRzaCErbN/TWR/ZV7KAAuAH4I2dENylArqeD/zGGGFqx8QlLxwZwzB2Khxznb - P5Jo9+AQhtgYBCCGpmErhLeCWHbeEOtIsKv/boCDUwYBG59IegHjxaNbShK3qAAAAABJRU5ErkJggg== -</value> - </data> - <data name="PhoneDialerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAACuSURBVDhPlZABEsMgCAR9Ok/zZ5Y7vBTRSe3NMNLAbk1ajVkbtebod7A8xl5XogybGZZ5Xosk - 8JaF4Mxi1VEyH3Kh984Tv1Ga5RttEv0TYPSS6HUklAA9OOYEfyVI9L7KHjP0hJEQKLFQYUE4D4L8tZX1 - VgWs8PChsbIogxnW64CnwFsCSBadwLhRfFjwFGjgT8LiSUsLqJozZlnKohfwgXM20S1Y84j+BWsuwNY+ - jJmrZz39EHUAAAAASUVORK5CYII= -</value> - </data> - <data name="ScanDiskToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTM0A1t6 - AAAApklEQVQ4T52RURLEIAhDPbpH82ZdAkRJqzu7jcNIIS9+tJ3Ue7+y/V+AXwcQ3lVazprGi0KndQyq - MCu0JmMMb82uIQuuh1KYleiCZZvlEDp78b4O2gQD5CFqWPO6yAraZF/+El+TIJpL58cw+CSAtwQlBs2Q - hH1m/SOA9zNoA6d8WKF7EPb0QGACVW2DagAEX9jPmkGtx69kAHZh+U0z6A1c9QVu7QO2o72D+7DJiAAA - AABJRU5ErkJggg== -</value> - </data> - <data name="SoundRecorderToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAWJLR0QGYWa4fQAAAAd0SU1FB+EECBQn - GYR5/aEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDQtMDhUMjA6Mzk6MjUrMDA6MDARX1KeAAAAJXRF - WHRkYXRlOm1vZGlmeQAyMDE3LTA0LTA4VDIwOjM5OjI1KzAwOjAwYALqIgAAAJ9JREFUOE+VkAEOxCAI - BH26P6s/8zrgeqTS05uEKMouaNnQR/zPdZVeazWDsZ6DuHfv3lqz8JsDJKYrgRiyKZYzieFOpxhiscxH - 6sIojuMLCV669lD8nYAQi1CosxusE7DCoQG44L6SyPL4hBic2ftJnhMQQsVvWHH8SPLsE3dME/aZwYnR - fBIholB3I00xE1amIDLBscmu8Bdm4NuMUj70z1LCUTedOwAAAABJRU5ErkJggg== -</value> - </data> - <data name="VolumeControlToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfhBAgU - Jxtqd5yNAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTA0LTA4VDIwOjM5OjI3KzAwOjAwhsBDtwAAACV0 - RVh0ZGF0ZTptb2RpZnkAMjAxNy0wNC0wOFQyMDozOToyNyswMDowMPed+wsAAACLSURBVDhPlY4BDoQg - DAR5Ok/jZ9ohblxBLUyywWzbuSui1nrs5Dq7oVwl1r8FrbXfXL++Joi6x7tUwEskAB0q9P3IYeD4gc/4 - jvVvgf5qVI+oTwW8RBLQoULfjxwGzigQqYBlJeqpSwW8ZBSoJ/T9yGHgjAKRClhWhHdbgrekAt4ssT4L - Ag1WE5RyAh+UCl7SI0TaAAAAAElFTkSuQmCC -</value> - </data> - <data name="WindowsExplorerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAACWSURBVDhPrZELDoAgDEN39B2NmyHdR5kbUYxN6gisj0XIxcz9bjt6Fppba713CvUVZBWeIZUt - roBdMRMACrkA8UY06FmerAR4GCL5jrqAlIAUHkZzBVkCUhhrAWxO4GGpBvAwaglQsj5pDOOnRkgJuA71 - BeATOLKwQxLAb6g8OmSiGaL7BjD5xsIRYvu7+h3yCSCawkQHtwPWgxECHeYAAAAASUVORK5CYII= -</value> - </data> - <data name="WindowsMediaPlayerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+EECBQo - FH1QndMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDQtMDhUMjA6NDA6MjArMDA6MDCWSUNwAAAAJXRF - WHRkYXRlOm1vZGlmeQAyMDE3LTA0LTA4VDIwOjQwOjIwKzAwOjAw5xT7zAAAAHpJREFUOE+djgsOgDAI - Qzn6bubRlF+zOZV1vqRBGK0IS2vthHK0ZjQBHdcBhcllc9t7UJnsvSSM4tKWM03cAvLMVe3YwNBPuqYC - JONxVbGvCnABSx2QfwJjK0c03wHYzjq1RICB7WRsf10AeU9dQPAasCu19YAEww2JXJGJ13tFDjjJAAAA - AElFTkSuQmCC -</value> - </data> </root>
\ No newline at end of file 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 new file mode 100644 index 0000000..94c3303 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs @@ -0,0 +1,579 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicWordPad + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + 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"; + this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); + // + // 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..."; + this.sendToolStripMenuItem.Click += new System.EventHandler(this.sendToolStripMenuItem_Click); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(109, 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"; + this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); + // + // 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"; + 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 + // + 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"; + 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 + // + 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(132, 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(132, 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(132, 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"; + this.dateTimeToolStripMenuItem.Click += new System.EventHandler(this.dateTimeToolStripMenuItem_Click); + // + // 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.CheckOnClick = true; + this.bulletStyleToolStripMenuItem.Name = "bulletStyleToolStripMenuItem"; + this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.bulletStyleToolStripMenuItem.Text = "Bullet style"; + this.bulletStyleToolStripMenuItem.Click += new System.EventHandler(this.bulletStyleToolStripMenuItem_Click); + // + // 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; + this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); + // + // 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; + this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); + // + // 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; + this.btnCut.Click += new System.EventHandler(this.btnCut_Click); + // + // 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; + this.btnNew.Click += new System.EventHandler(this.btnNew_Click); + // + // 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.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 + // + 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; + this.comboFont.Text = "Arial"; + this.comboFont.SelectedIndexChanged += new System.EventHandler(this.comboFont_SelectedIndexChanged); + // + // 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); + this.btnUnderline.MouseEnter += new System.EventHandler(this.btnUnderline_MouseEnter); + this.btnUnderline.MouseLeave += new System.EventHandler(this.btnUnderline_MouseLeave); + // + // 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); + this.btnItalic.MouseEnter += new System.EventHandler(this.btnItalic_MouseEnter); + this.btnItalic.MouseLeave += new System.EventHandler(this.btnItalic_MouseLeave); + // + // 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); + this.btnBold.MouseEnter += new System.EventHandler(this.btnBold_MouseEnter); + this.btnBold.MouseLeave += new System.EventHandler(this.btnBold_MouseLeave); + // + // 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(210, 16); + this.lblStatus.TabIndex = 0; + this.lblStatus.Text = "For Help, goto Help -> Help topics"; + // + // 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..f270eac --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -0,0 +1,318 @@ +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 + { + WindowManager wm = new WindowManager(); + + 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); + } + } + + #region Format_Buttons + + 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; + DoFontStyles(); + } + + private void btnItalic_Click(object sender, EventArgs e) + { + if (btnItalicSelected == false) + { + btnItalic.BackgroundImage = Properties.Resources.sliversilver; + btnItalicSelected = true; + } + else + { + btnItalic.BackgroundImage = null; + btnItalicSelected = false; + } + doItalic = btnItalicSelected; + DoFontStyles(); + } + + private void btnUnderline_Click(object sender, EventArgs e) + { + if (btnUnderlineSelected == false) + { + btnUnderline.BackgroundImage = Properties.Resources.sliversilver; + btnUnderlineSelected = true; + } + else + { + btnUnderline.BackgroundImage = null; + 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; + } + + 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(); + } + + private void aboutWordpadToolStripMenuItem_Click(object sender, EventArgs e) + { + 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 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="topmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> +</root>
\ 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 @@ -374,6 +374,26 @@ namespace TimeHACK.Properties { /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> + internal static System.Drawing.Bitmap WinClassicCopy { + get { + object obj = ResourceManager.GetObject("WinClassicCopy", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap WinClassicCut { + get { + object obj = ResourceManager.GetObject("WinClassicCut", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> internal static System.Drawing.Bitmap WinClassicDocuments { get { object obj = ResourceManager.GetObject("WinClassicDocuments", resourceCulture); @@ -474,6 +494,16 @@ namespace TimeHACK.Properties { /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> + internal static System.Drawing.Bitmap WinClassicNew { + get { + object obj = ResourceManager.GetObject("WinClassicNew", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> internal static System.Drawing.Bitmap WinClassicNotepad { get { object obj = ResourceManager.GetObject("WinClassicNotepad", resourceCulture); @@ -494,6 +524,16 @@ namespace TimeHACK.Properties { /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> + internal static System.Drawing.Bitmap WinClassicPaste { + get { + object obj = ResourceManager.GetObject("WinClassicPaste", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> internal static System.Drawing.Bitmap WinClassicProgramItem { get { object obj = ResourceManager.GetObject("WinClassicProgramItem", resourceCulture); @@ -602,6 +642,26 @@ namespace TimeHACK.Properties { } /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap WinClassicUndo { + get { + object obj = ResourceManager.GetObject("WinClassicUndo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap WinClassicWordpad { + get { + object obj = ResourceManager.GetObject("WinClassicWordpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> /// Looks up a localized resource of type System.Byte[]. /// </summary> internal static byte[] windows_command_prompt { 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 @@ <data name="WinClassicHWCV" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\WinClassic\WinClassicHWCV.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="WinClassicCopy" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\WinClassicCopy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="WinClassicCut" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\WinClassicCut.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="WinClassicNew" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\WinClassicNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="WinClassicPaste" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\WinClassicPaste.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="WinClassicUndo" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\WinClassicUndo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="WinClassicWordpad" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\WinClassicWordpad.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> </root>
\ No newline at end of file diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png b/TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png Binary files differnew file mode 100644 index 0000000..d497ff9 --- /dev/null +++ b/TimeHACK.Main/Resources/WinClassic/WinClassicCopy.png diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicCut.png b/TimeHACK.Main/Resources/WinClassic/WinClassicCut.png Binary files differnew file mode 100644 index 0000000..ab1e962 --- /dev/null +++ b/TimeHACK.Main/Resources/WinClassic/WinClassicCut.png diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicNew.png b/TimeHACK.Main/Resources/WinClassic/WinClassicNew.png Binary files differnew file mode 100644 index 0000000..c7131e3 --- /dev/null +++ b/TimeHACK.Main/Resources/WinClassic/WinClassicNew.png diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png b/TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png Binary files differnew file mode 100644 index 0000000..44fccfc --- /dev/null +++ b/TimeHACK.Main/Resources/WinClassic/WinClassicPaste.png diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png b/TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png Binary files differnew file mode 100644 index 0000000..b4c56f7 --- /dev/null +++ b/TimeHACK.Main/Resources/WinClassic/WinClassicUndo.png 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 @@ <Compile Include="OS\Win95\Win95Apps\WinClassicInstaller.Designer.cs"> <DependentUpon>WinClassicInstaller.cs</DependentUpon> </Compile> + <Compile Include="OS\Win95\Win95Apps\WinClassicWordPad.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="OS\Win95\Win95Apps\WinClassicWordPad.Designer.cs"> + <DependentUpon>WinClassicWordPad.cs</DependentUpon> + </Compile> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\Resources.Designer.cs"> @@ -204,6 +210,9 @@ <EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicInstaller.resx"> <DependentUpon>WinClassicInstaller.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicWordPad.resx"> + <DependentUpon>WinClassicWordPad.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Properties\Resources.resx"> <Generator>ResXFileCodeGenerator</Generator> <SubType>Designer</SubType> @@ -251,6 +260,8 @@ <Content Include="Resources\TitleScreen\TaskBarClock.png" /> <Content Include="Resources\TitleScreen\TimeHACK_Logo.png" /> <Content Include="Resources\TitleScreen\TitleScreenBG.png" /> + <None Include="Resources\WinClassic\WinClassicWordpad.png" /> + <None Include="Resources\WinClassic\WinClassicUndo.png" /> <None Include="Resources\LeviWindows.ttf" /> <Content Include="Resources\WinClassic\16Color.png" /> <Content Include="Resources\WinClassic\256Color.png" /> @@ -270,6 +281,8 @@ <None Include="Resources\WinClassic\Win95Warning.png" /> <Content Include="Resources\WinClassic\WinClassicClock.png" /> <Content Include="Resources\WinClassic\WinClassicComputer.png" /> + <None Include="Resources\WinClassic\WinClassicCopy.png" /> + <None Include="Resources\WinClassic\WinClassicCut.png" /> <Content Include="Resources\WinClassic\WinClassicDocuments.png" /> <Content Include="Resources\WinClassic\WinClassicFind.png" /> <Content Include="Resources\WinClassic\WinClassicFolder.png" /> @@ -280,7 +293,9 @@ <Content Include="Resources\WinClassic\WinClassicMSN.png" /> <Content Include="Resources\WinClassic\WinClassicNetworking.png" /> <None Include="Resources\WinClassic\WinClassicNotepad.png" /> + <None Include="Resources\WinClassic\WinClassicNew.png" /> <Content Include="Resources\WinClassic\WinClassicOutlook.png" /> + <None Include="Resources\WinClassic\WinClassicPaste.png" /> <Content Include="Resources\WinClassic\WinClassicProgramItem.png" /> <Content Include="Resources\WinClassic\WinClassicPrograms.png" /> <Content Include="Resources\WinClassic\WinClassicRecycle.png" /> diff --git a/TimeHACK.Main/obj/Release/CoreCompileInputs.cache b/TimeHACK.Main/obj/Release/CoreCompileInputs.cache new file mode 100644 index 0000000..ef9e3e3 --- /dev/null +++ b/TimeHACK.Main/obj/Release/CoreCompileInputs.cache @@ -0,0 +1 @@ +bbef24231b31ba1c9a8c1b5e4dda3e7c01140ae8 diff --git a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache Binary files differindex fa9b007..a15f729 100644 --- a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache +++ b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache diff --git a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache Binary files differindex 0dadb6f..646c7fa 100644 --- a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache +++ b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache |
