From 14824f235750042aec631fa8ed50022458c1115b Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 10 Jul 2017 19:28:42 -0400 Subject: removed testapp --- TimeHACK.Main/TimeHACK.Main.csproj | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 1590896..605b079 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -221,12 +221,6 @@ FRMWinClassicAddressBookNewContact.cs - - UserControl - - - TestApp.cs - UserControl @@ -354,9 +348,6 @@ FRMWinClassicAddressBookNewContact.cs - - TestApp.cs - WebChat1998.cs -- cgit v1.2.3 From c45c5c46cafef304016469ae4f6a49c11479fb6c Mon Sep 17 00:00:00 2001 From: JayXKanz666 Date: Wed, 12 Jul 2017 01:41:59 +0200 Subject: Added new IE4 -Changed the way IE works (TemIE4.cs) -Converted HTML websites to UserControls (/Win95Apps/IE4Sites) --- TimeHACK.Main/OS/Win95/Win95.Designer.cs | 22 +- TimeHACK.Main/OS/Win95/Win95.cs | 7 + TimeHACK.Main/OS/Win95/Win95.resx | 9 +- .../Win95Apps/IE4Sites/GoogleHome.Designer.cs | 90 ++ .../OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs | 25 + .../OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx | 120 ++ .../Win95Apps/IE4Sites/GooglePrototype.Designer.cs | 277 +++++ .../OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs | 27 + .../Win95/Win95Apps/IE4Sites/GooglePrototype.resx | 120 ++ .../OS/Win95/Win95Apps/TempIE4.Designer.cs | 1291 ++++++++++++++++++++ TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs | 53 + TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx | 123 ++ .../OS/Win95/Win95Apps/WinClassicWordPad.cs | 4 +- TimeHACK.Main/TimeHACK.Main.csproj | 30 +- 14 files changed, 2180 insertions(+), 18 deletions(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index 2639442..e96c0ff 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -88,6 +88,7 @@ namespace TimeHACK.OS.Win95 this.SkindowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.WebChatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.TimeDistorterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FTPClientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.DocumentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.downloaderTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.installerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -129,7 +130,7 @@ namespace TimeHACK.OS.Win95 this.BitmapImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MicrosoftDataLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PropertiesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.FTPClientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.iE4TestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); this.taskbar.SuspendLayout(); this.clockPanel.SuspendLayout(); @@ -744,7 +745,8 @@ namespace TimeHACK.OS.Win95 this.DocumentsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.downloaderTestToolStripMenuItem, this.installerTestToolStripMenuItem, - this.storyTest1ToolStripMenuItem}); + this.storyTest1ToolStripMenuItem, + this.iE4TestToolStripMenuItem}); this.DocumentsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicDocuments; this.DocumentsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.DocumentsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -758,7 +760,7 @@ namespace TimeHACK.OS.Win95 this.downloaderTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.downloaderTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("downloaderTestToolStripMenuItem.BackgroundImage"))); this.downloaderTestToolStripMenuItem.Name = "downloaderTestToolStripMenuItem"; - this.downloaderTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.downloaderTestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.downloaderTestToolStripMenuItem.Text = "DownloaderTest"; this.downloaderTestToolStripMenuItem.Click += new System.EventHandler(this.downloaderTestToolStripMenuItem_Click); // @@ -767,7 +769,7 @@ namespace TimeHACK.OS.Win95 this.installerTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.installerTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("installerTestToolStripMenuItem.BackgroundImage"))); this.installerTestToolStripMenuItem.Name = "installerTestToolStripMenuItem"; - this.installerTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.installerTestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.installerTestToolStripMenuItem.Text = "InstallerTest"; this.installerTestToolStripMenuItem.Click += new System.EventHandler(this.installerTestToolStripMenuItem_Click); // @@ -775,7 +777,7 @@ namespace TimeHACK.OS.Win95 // this.storyTest1ToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.storyTest1ToolStripMenuItem.Name = "storyTest1ToolStripMenuItem"; - this.storyTest1ToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.storyTest1ToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.storyTest1ToolStripMenuItem.Text = "StoryTest1"; this.storyTest1ToolStripMenuItem.Click += new System.EventHandler(this.storyTest1ToolStripMenuItem_Click); // @@ -1143,6 +1145,15 @@ namespace TimeHACK.OS.Win95 this.PropertiesToolStripMenuItem1.Text = "Properties"; this.PropertiesToolStripMenuItem1.Click += new System.EventHandler(this.PropertiesToolStripMenuItem1_Click); // + // iE4TestToolStripMenuItem + // + this.iE4TestToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control; + this.iE4TestToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.iE4TestToolStripMenuItem.Name = "iE4TestToolStripMenuItem"; + this.iE4TestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.iE4TestToolStripMenuItem.Text = "IE4Test"; + this.iE4TestToolStripMenuItem.Click += new System.EventHandler(this.iE4TestToolStripMenuItem_Click); + // // Windows95 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1269,5 +1280,6 @@ namespace TimeHACK.OS.Win95 private System.Windows.Forms.Panel taskbarItems; private System.Windows.Forms.ToolStripMenuItem storyTest1ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem FTPClientToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem iE4TestToolStripMenuItem; } } \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 6090c0f..e08d436 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -443,6 +443,13 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } + + private void iE4TestToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new TempIE4(), "IE4", null, true, true); + app.BringToFront(); + startmenu.Hide(); + } } public class MyRenderer : ToolStripProfessionalRenderer { diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index 8285d12..e0111f1 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -299,13 +299,6 @@ wwAADsMBx2+oZAAAAJJJREFUOE+tkYEOgCAIRP10/tzk4FISZ7ZuuzDwnq4KJSL1aR/txc21llBfQVbh EZJZZ5C+nEoEcIN0QDyxLVGzm6WAsMYTvRSSAqaw2jRBloApbJUBhLVub4ABqwMY1poCuEYzhPWjRkgK 6EP7A+obqOc2EzIBeELmtqNFDECI9R3gYmPhCPH+qX6HfAJAQ7iUCwlxft5LSoDNAAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw - 4AAABIQCQUtXaBsAAAAASUVORK5CYII= @@ -389,7 +382,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq - ggAAAk1TRnQBSQFMAgEBDAEAAYgBAQGIAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA + ggAAAk1TRnQBSQFMAgEBDAEAAZABAQGQAQEBIAEAASABAAT/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/ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs new file mode 100644 index 0000000..e842be5 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs @@ -0,0 +1,90 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class GoogleHome + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Times New Roman", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label1.Location = new System.Drawing.Point(4, 4); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(277, 36); + this.label1.TabIndex = 0; + this.label1.Text = "Welcome to Google"; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel1.Location = new System.Drawing.Point(7, 60); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(199, 17); + this.linkLabel1.TabIndex = 1; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "Google Search Engine Prototype"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel2.Location = new System.Drawing.Point(7, 83); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(418, 17); + this.linkLabel2.TabIndex = 2; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "Might-work-some-of-the-time-prototype that is much more up to date."; + // + // GoogleHome + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.label1); + this.Name = "GoogleHome"; + this.Size = new System.Drawing.Size(959, 483); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs new file mode 100644 index 0000000..d71c171 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class GoogleHome : UserControl + { + public GoogleHome() + { + InitializeComponent(); + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + TempIE4.GoToPage("www.google.stanford.edu"); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs new file mode 100644 index 0000000..98e3aa7 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs @@ -0,0 +1,277 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class GooglePrototype + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label3 = new System.Windows.Forms.Label(); + this.panel2 = new System.Windows.Forms.Panel(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.button2 = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.label4 = new System.Windows.Forms.Label(); + this.button3 = new System.Windows.Forms.Button(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.linkLabel3 = new System.Windows.Forms.LinkLabel(); + this.linkLabel4 = new System.Windows.Forms.LinkLabel(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.google; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox1.Location = new System.Drawing.Point(274, 3); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(380, 131); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.SystemColors.Control; + this.panel1.Controls.Add(this.linkLabel3); + this.panel1.Controls.Add(this.label3); + this.panel1.Controls.Add(this.button3); + this.panel1.Controls.Add(this.textBox2); + this.panel1.Location = new System.Drawing.Point(196, 302); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(535, 55); + this.panel1.TabIndex = 1; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(193, 6); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(147, 13); + this.label3.TabIndex = 0; + this.label3.Text = "Get Google! updates monthly!"; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.SystemColors.Control; + this.panel2.Controls.Add(this.comboBox1); + this.panel2.Controls.Add(this.button2); + this.panel2.Controls.Add(this.button1); + this.panel2.Controls.Add(this.textBox1); + this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.label1); + this.panel2.Location = new System.Drawing.Point(196, 136); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(535, 92); + this.panel2.TabIndex = 1; + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "10 results", + "30 results", + "100 results"}); + this.comboBox1.Location = new System.Drawing.Point(118, 44); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(76, 21); + this.comboBox1.TabIndex = 4; + this.comboBox1.Text = "10 results"; + // + // button2 + // + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.button2.Location = new System.Drawing.Point(307, 43); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(113, 26); + this.button2.TabIndex = 3; + this.button2.Text = "I\'m feeling lucky"; + this.button2.UseVisualStyleBackColor = true; + // + // button1 + // + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.button1.Location = new System.Drawing.Point(194, 43); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(114, 26); + this.button1.TabIndex = 2; + this.button1.Text = "Google Search"; + this.button1.UseVisualStyleBackColor = true; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(144, 23); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(245, 20); + this.textBox1.TabIndex = 1; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label2.Location = new System.Drawing.Point(115, 71); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(328, 15); + this.label2.TabIndex = 0; + this.label2.Text = "Index contains ~25 million pages (soon to be much bigger)"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label1.Location = new System.Drawing.Point(176, 3); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(184, 17); + this.label1.TabIndex = 0; + this.label1.Text = "Search the web using Google!"; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Times New Roman", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel1.Location = new System.Drawing.Point(395, 231); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(141, 24); + this.linkLabel1.TabIndex = 2; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "About Google!"; + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel2.Location = new System.Drawing.Point(368, 280); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(107, 19); + this.linkLabel2.TabIndex = 2; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "Stanford Search"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(369, 360); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(191, 13); + this.label4.TabIndex = 0; + this.label4.Text = "Copyright © 1997-8 Stanford University"; + // + // button3 + // + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.button3.Location = new System.Drawing.Point(274, 26); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(86, 25); + this.button3.TabIndex = 3; + this.button3.Text = "Subscribe"; + this.button3.UseVisualStyleBackColor = true; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(144, 30); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(127, 20); + this.textBox2.TabIndex = 1; + this.textBox2.Text = "your e-mail"; + // + // linkLabel3 + // + this.linkLabel3.AutoSize = true; + this.linkLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel3.Location = new System.Drawing.Point(362, 34); + this.linkLabel3.Name = "linkLabel3"; + this.linkLabel3.Size = new System.Drawing.Size(50, 15); + this.linkLabel3.TabIndex = 4; + this.linkLabel3.TabStop = true; + this.linkLabel3.Text = "Archive"; + // + // linkLabel4 + // + this.linkLabel4.AutoSize = true; + this.linkLabel4.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel4.Location = new System.Drawing.Point(472, 280); + this.linkLabel4.Name = "linkLabel4"; + this.linkLabel4.Size = new System.Drawing.Size(88, 19); + this.linkLabel4.TabIndex = 3; + this.linkLabel4.TabStop = true; + this.linkLabel4.Text = "Linux Search"; + // + // GooglePrototype + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.linkLabel4); + this.Controls.Add(this.label4); + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Controls.Add(this.pictureBox1); + this.Name = "GooglePrototype"; + this.Size = new System.Drawing.Size(959, 483); + this.Load += new System.EventHandler(this.GooglePrototype_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.LinkLabel linkLabel3; + private System.Windows.Forms.LinkLabel linkLabel4; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs new file mode 100644 index 0000000..ad76e6b --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class GooglePrototype : UserControl + { + public GooglePrototype() + { + InitializeComponent(); + } + + private void GooglePrototype_Load(object sender, EventArgs e) + { + button1.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + button2.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + button3.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs new file mode 100644 index 0000000..93fdd53 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs @@ -0,0 +1,1291 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class TempIE4 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.Panel14 = new System.Windows.Forms.Panel(); + this.GoButton = new System.Windows.Forms.Button(); + this.addressbar = new System.Windows.Forms.ComboBox(); + this.Label1 = new System.Windows.Forms.Label(); + this.Button30 = new System.Windows.Forms.Button(); + this.Button29 = new System.Windows.Forms.Button(); + this.Button28 = new System.Windows.Forms.Button(); + this.Button27 = new System.Windows.Forms.Button(); + this.Button7 = new System.Windows.Forms.Button(); + this.Button6 = new System.Windows.Forms.Button(); + this.HomeButton = new System.Windows.Forms.Button(); + this.Button4 = new System.Windows.Forms.Button(); + this.Button3 = new System.Windows.Forms.Button(); + this.ForwardButton = new System.Windows.Forms.Button(); + this.BackButton = new System.Windows.Forms.Button(); + this.Panel1 = new System.Windows.Forms.Panel(); + this.MenuStrip3 = new System.Windows.Forms.MenuStrip(); + this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem10 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem14 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem15 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem16 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem17 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem18 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem19 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem20 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem21 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem22 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem23 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem24 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem25 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem26 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem27 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem28 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem29 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem30 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem31 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem32 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem33 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem34 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem35 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem36 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem37 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem38 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem39 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem40 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem41 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem42 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem43 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem44 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem45 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem46 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem47 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem48 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem49 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem50 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem51 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem52 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem53 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem54 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem55 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem56 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem57 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem58 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem59 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem60 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem61 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem62 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem63 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem64 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem65 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem66 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem67 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem68 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem69 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem70 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem71 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem72 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem78 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem79 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem80 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem81 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem82 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem83 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem84 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem85 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem86 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem87 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem73 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem74 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem75 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem76 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem77 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem88 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem89 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem90 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem91 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem92 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem93 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem94 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem95 = new System.Windows.Forms.ToolStripMenuItem(); + this._browsingArea = new System.Windows.Forms.Panel(); + this.Panel14.SuspendLayout(); + this.Panel1.SuspendLayout(); + this.MenuStrip3.SuspendLayout(); + this.SuspendLayout(); + // + // Panel14 + // + this.Panel14.BackColor = System.Drawing.Color.Silver; + this.Panel14.Controls.Add(this.GoButton); + this.Panel14.Controls.Add(this.addressbar); + this.Panel14.Controls.Add(this.Label1); + this.Panel14.Dock = System.Windows.Forms.DockStyle.Top; + this.Panel14.Location = new System.Drawing.Point(0, 73); + this.Panel14.Name = "Panel14"; + this.Panel14.Size = new System.Drawing.Size(959, 38); + this.Panel14.TabIndex = 16; + // + // GoButton + // + this.GoButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.GoButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.GoButton.Location = new System.Drawing.Point(898, 5); + this.GoButton.Name = "GoButton"; + this.GoButton.Size = new System.Drawing.Size(55, 28); + this.GoButton.TabIndex = 2; + this.GoButton.Text = "Go"; + this.GoButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.GoButton.UseVisualStyleBackColor = true; + this.GoButton.Click += new System.EventHandler(this.GoButton_Click); + // + // addressbar + // + this.addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.addressbar.FormattingEnabled = true; + this.addressbar.Location = new System.Drawing.Point(58, 9); + this.addressbar.Name = "addressbar"; + this.addressbar.Size = new System.Drawing.Size(812, 21); + this.addressbar.TabIndex = 1; + this.addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.Location = new System.Drawing.Point(4, 13); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(48, 13); + this.Label1.TabIndex = 0; + this.Label1.Text = "Address:"; + // + // Button30 + // + this.Button30.Dock = System.Windows.Forms.DockStyle.Left; + this.Button30.FlatAppearance.BorderSize = 0; + this.Button30.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button30.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.Button30.Location = new System.Drawing.Point(750, 0); + this.Button30.Name = "Button30"; + this.Button30.Size = new System.Drawing.Size(75, 47); + this.Button30.TabIndex = 10; + this.Button30.Text = "Print"; + this.Button30.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button30.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button30.UseVisualStyleBackColor = true; + // + // Button29 + // + this.Button29.Dock = System.Windows.Forms.DockStyle.Left; + this.Button29.FlatAppearance.BorderSize = 0; + this.Button29.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button29.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.Button29.Location = new System.Drawing.Point(675, 0); + this.Button29.Name = "Button29"; + this.Button29.Size = new System.Drawing.Size(75, 47); + this.Button29.TabIndex = 9; + this.Button29.Text = "Mail"; + this.Button29.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button29.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button29.UseVisualStyleBackColor = true; + // + // Button28 + // + this.Button28.Dock = System.Windows.Forms.DockStyle.Left; + this.Button28.FlatAppearance.BorderSize = 0; + this.Button28.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button28.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.Button28.Location = new System.Drawing.Point(600, 0); + this.Button28.Name = "Button28"; + this.Button28.Size = new System.Drawing.Size(75, 47); + this.Button28.TabIndex = 8; + this.Button28.Text = "Full Screen"; + this.Button28.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button28.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button28.UseVisualStyleBackColor = true; + // + // Button27 + // + this.Button27.Dock = System.Windows.Forms.DockStyle.Left; + this.Button27.FlatAppearance.BorderSize = 0; + this.Button27.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button27.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.Button27.Location = new System.Drawing.Point(525, 0); + this.Button27.Name = "Button27"; + this.Button27.Size = new System.Drawing.Size(75, 47); + this.Button27.TabIndex = 7; + this.Button27.Text = "Channels"; + this.Button27.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button27.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button27.UseVisualStyleBackColor = true; + // + // Button7 + // + this.Button7.Dock = System.Windows.Forms.DockStyle.Left; + this.Button7.FlatAppearance.BorderSize = 0; + this.Button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button7.Location = new System.Drawing.Point(450, 0); + this.Button7.Name = "Button7"; + this.Button7.Size = new System.Drawing.Size(75, 47); + this.Button7.TabIndex = 6; + this.Button7.Text = "History"; + this.Button7.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button7.UseVisualStyleBackColor = true; + // + // Button6 + // + this.Button6.Dock = System.Windows.Forms.DockStyle.Left; + this.Button6.FlatAppearance.BorderSize = 0; + this.Button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button6.Location = new System.Drawing.Point(375, 0); + this.Button6.Name = "Button6"; + this.Button6.Size = new System.Drawing.Size(75, 47); + this.Button6.TabIndex = 5; + this.Button6.Text = "Favorites"; + this.Button6.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button6.UseVisualStyleBackColor = true; + // + // HomeButton + // + this.HomeButton.Dock = System.Windows.Forms.DockStyle.Left; + this.HomeButton.FlatAppearance.BorderSize = 0; + this.HomeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.HomeButton.Location = new System.Drawing.Point(300, 0); + this.HomeButton.Name = "HomeButton"; + this.HomeButton.Size = new System.Drawing.Size(75, 47); + this.HomeButton.TabIndex = 4; + this.HomeButton.Text = "Home"; + this.HomeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.HomeButton.UseVisualStyleBackColor = true; + // + // Button4 + // + this.Button4.Dock = System.Windows.Forms.DockStyle.Left; + this.Button4.FlatAppearance.BorderSize = 0; + this.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button4.Location = new System.Drawing.Point(225, 0); + this.Button4.Name = "Button4"; + this.Button4.Size = new System.Drawing.Size(75, 47); + this.Button4.TabIndex = 3; + this.Button4.Text = "Refresh"; + this.Button4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button4.UseVisualStyleBackColor = true; + // + // Button3 + // + this.Button3.Dock = System.Windows.Forms.DockStyle.Left; + this.Button3.FlatAppearance.BorderSize = 0; + this.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button3.Location = new System.Drawing.Point(150, 0); + this.Button3.Name = "Button3"; + this.Button3.Size = new System.Drawing.Size(75, 47); + this.Button3.TabIndex = 2; + this.Button3.Text = "Stop"; + this.Button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button3.UseVisualStyleBackColor = true; + // + // ForwardButton + // + this.ForwardButton.Dock = System.Windows.Forms.DockStyle.Left; + this.ForwardButton.FlatAppearance.BorderSize = 0; + this.ForwardButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ForwardButton.Location = new System.Drawing.Point(75, 0); + this.ForwardButton.Name = "ForwardButton"; + this.ForwardButton.Size = new System.Drawing.Size(75, 47); + this.ForwardButton.TabIndex = 1; + this.ForwardButton.Text = "Forward"; + this.ForwardButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.ForwardButton.UseVisualStyleBackColor = true; + // + // BackButton + // + this.BackButton.Dock = System.Windows.Forms.DockStyle.Left; + this.BackButton.FlatAppearance.BorderSize = 0; + this.BackButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.BackButton.Location = new System.Drawing.Point(0, 0); + this.BackButton.Name = "BackButton"; + this.BackButton.Size = new System.Drawing.Size(75, 47); + this.BackButton.TabIndex = 0; + this.BackButton.Text = "Back"; + this.BackButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.BackButton.UseVisualStyleBackColor = true; + // + // Panel1 + // + this.Panel1.BackColor = System.Drawing.Color.Silver; + this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.Panel1.Controls.Add(this.Button30); + this.Panel1.Controls.Add(this.Button29); + this.Panel1.Controls.Add(this.Button28); + this.Panel1.Controls.Add(this.Button27); + this.Panel1.Controls.Add(this.Button7); + this.Panel1.Controls.Add(this.Button6); + this.Panel1.Controls.Add(this.HomeButton); + this.Panel1.Controls.Add(this.Button4); + this.Panel1.Controls.Add(this.Button3); + this.Panel1.Controls.Add(this.ForwardButton); + this.Panel1.Controls.Add(this.BackButton); + this.Panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.Panel1.Location = new System.Drawing.Point(0, 24); + this.Panel1.Name = "Panel1"; + this.Panel1.Size = new System.Drawing.Size(959, 49); + this.Panel1.TabIndex = 14; + // + // MenuStrip3 + // + this.MenuStrip3.BackColor = System.Drawing.Color.Silver; + this.MenuStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem1, + this.ToolStripMenuItem22, + this.ToolStripMenuItem28, + this.ToolStripMenuItem78, + this.ToolStripMenuItem73, + this.ToolStripMenuItem88}); + this.MenuStrip3.Location = new System.Drawing.Point(0, 0); + this.MenuStrip3.Name = "MenuStrip3"; + this.MenuStrip3.Size = new System.Drawing.Size(959, 24); + this.MenuStrip3.TabIndex = 15; + this.MenuStrip3.Text = "MenuStrip1"; + // + // ToolStripMenuItem1 + // + this.ToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem2, + this.ToolStripMenuItem8, + this.ToolStripMenuItem9, + this.ToolStripMenuItem10, + this.ToolStripMenuItem11, + this.ToolStripMenuItem12, + this.ToolStripMenuItem13, + this.ToolStripMenuItem14, + this.ToolStripMenuItem18, + this.ToolStripMenuItem19, + this.ToolStripMenuItem20, + this.ToolStripMenuItem21}); + this.ToolStripMenuItem1.Name = "ToolStripMenuItem1"; + this.ToolStripMenuItem1.Size = new System.Drawing.Size(37, 20); + this.ToolStripMenuItem1.Text = "File"; + // + // ToolStripMenuItem2 + // + this.ToolStripMenuItem2.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem3, + this.ToolStripMenuItem4, + this.ToolStripMenuItem5, + this.ToolStripMenuItem6, + this.ToolStripMenuItem7}); + this.ToolStripMenuItem2.Name = "ToolStripMenuItem2"; + this.ToolStripMenuItem2.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem2.Text = "New"; + // + // ToolStripMenuItem3 + // + this.ToolStripMenuItem3.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem3.Name = "ToolStripMenuItem3"; + this.ToolStripMenuItem3.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem3.Text = "Window Ctrl+N"; + // + // ToolStripMenuItem4 + // + this.ToolStripMenuItem4.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem4.Name = "ToolStripMenuItem4"; + this.ToolStripMenuItem4.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem4.Text = "Message"; + // + // ToolStripMenuItem5 + // + this.ToolStripMenuItem5.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem5.Name = "ToolStripMenuItem5"; + this.ToolStripMenuItem5.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem5.Text = "Post"; + // + // ToolStripMenuItem6 + // + this.ToolStripMenuItem6.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem6.Name = "ToolStripMenuItem6"; + this.ToolStripMenuItem6.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem6.Text = "Contact"; + // + // ToolStripMenuItem7 + // + this.ToolStripMenuItem7.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem7.Name = "ToolStripMenuItem7"; + this.ToolStripMenuItem7.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem7.Text = "Internet Call"; + // + // ToolStripMenuItem8 + // + this.ToolStripMenuItem8.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem8.Name = "ToolStripMenuItem8"; + this.ToolStripMenuItem8.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem8.Text = "Open... Ctrl+O"; + // + // ToolStripMenuItem9 + // + this.ToolStripMenuItem9.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem9.Name = "ToolStripMenuItem9"; + this.ToolStripMenuItem9.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem9.Text = "Edit with Windows Notepad"; + // + // ToolStripMenuItem10 + // + this.ToolStripMenuItem10.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem10.Name = "ToolStripMenuItem10"; + this.ToolStripMenuItem10.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem10.Text = "Save Ctrl+S"; + // + // ToolStripMenuItem11 + // + this.ToolStripMenuItem11.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem11.Name = "ToolStripMenuItem11"; + this.ToolStripMenuItem11.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem11.Text = "Save As..."; + // + // ToolStripMenuItem12 + // + this.ToolStripMenuItem12.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem12.Name = "ToolStripMenuItem12"; + this.ToolStripMenuItem12.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem12.Text = "Print Setup..."; + // + // ToolStripMenuItem13 + // + this.ToolStripMenuItem13.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem13.Name = "ToolStripMenuItem13"; + this.ToolStripMenuItem13.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem13.Text = "Print..."; + // + // ToolStripMenuItem14 + // + this.ToolStripMenuItem14.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem14.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem15, + this.ToolStripMenuItem16, + this.ToolStripMenuItem17}); + this.ToolStripMenuItem14.Name = "ToolStripMenuItem14"; + this.ToolStripMenuItem14.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem14.Text = "Send"; + // + // ToolStripMenuItem15 + // + this.ToolStripMenuItem15.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem15.Name = "ToolStripMenuItem15"; + this.ToolStripMenuItem15.Size = new System.Drawing.Size(179, 22); + this.ToolStripMenuItem15.Text = "Page by E-mail..."; + // + // ToolStripMenuItem16 + // + this.ToolStripMenuItem16.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem16.Name = "ToolStripMenuItem16"; + this.ToolStripMenuItem16.Size = new System.Drawing.Size(179, 22); + this.ToolStripMenuItem16.Text = "Link by E-mail..."; + // + // ToolStripMenuItem17 + // + this.ToolStripMenuItem17.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem17.Name = "ToolStripMenuItem17"; + this.ToolStripMenuItem17.Size = new System.Drawing.Size(179, 22); + this.ToolStripMenuItem17.Text = "Shortcut to Desktop"; + // + // ToolStripMenuItem18 + // + this.ToolStripMenuItem18.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem18.Name = "ToolStripMenuItem18"; + this.ToolStripMenuItem18.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem18.Text = "Import and Export..."; + // + // ToolStripMenuItem19 + // + this.ToolStripMenuItem19.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem19.Name = "ToolStripMenuItem19"; + this.ToolStripMenuItem19.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem19.Text = "Properties"; + // + // ToolStripMenuItem20 + // + this.ToolStripMenuItem20.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem20.Name = "ToolStripMenuItem20"; + this.ToolStripMenuItem20.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem20.Text = "Work Offline"; + // + // ToolStripMenuItem21 + // + this.ToolStripMenuItem21.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem21.Name = "ToolStripMenuItem21"; + this.ToolStripMenuItem21.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem21.Text = "Close"; + // + // ToolStripMenuItem22 + // + this.ToolStripMenuItem22.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem23, + this.ToolStripMenuItem24, + this.ToolStripMenuItem25, + this.ToolStripMenuItem26, + this.ToolStripMenuItem27}); + this.ToolStripMenuItem22.Name = "ToolStripMenuItem22"; + this.ToolStripMenuItem22.Size = new System.Drawing.Size(39, 20); + this.ToolStripMenuItem22.Text = "Edit"; + // + // ToolStripMenuItem23 + // + this.ToolStripMenuItem23.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem23.Name = "ToolStripMenuItem23"; + this.ToolStripMenuItem23.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem23.Text = "Cut Ctrl+X"; + // + // ToolStripMenuItem24 + // + this.ToolStripMenuItem24.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem24.Name = "ToolStripMenuItem24"; + this.ToolStripMenuItem24.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem24.Text = "Copy Ctrl+C"; + // + // ToolStripMenuItem25 + // + this.ToolStripMenuItem25.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem25.Name = "ToolStripMenuItem25"; + this.ToolStripMenuItem25.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem25.Text = "Paste Ctrl+V"; + // + // ToolStripMenuItem26 + // + this.ToolStripMenuItem26.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem26.Name = "ToolStripMenuItem26"; + this.ToolStripMenuItem26.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem26.Text = "Select All Ctrl+A"; + // + // ToolStripMenuItem27 + // + this.ToolStripMenuItem27.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem27.Name = "ToolStripMenuItem27"; + this.ToolStripMenuItem27.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem27.Text = "Find (on This Page)... Ctrl+F"; + // + // ToolStripMenuItem28 + // + this.ToolStripMenuItem28.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem29, + this.ToolStripMenuItem35, + this.ToolStripMenuItem36, + this.ToolStripMenuItem41, + this.ToolStripMenuItem43, + this.ToolStripMenuItem44, + this.ToolStripMenuItem45, + this.ToolStripMenuItem51, + this.ToolStripMenuItem71, + this.ToolStripMenuItem72}); + this.ToolStripMenuItem28.Name = "ToolStripMenuItem28"; + this.ToolStripMenuItem28.Size = new System.Drawing.Size(44, 20); + this.ToolStripMenuItem28.Text = "View"; + // + // ToolStripMenuItem29 + // + this.ToolStripMenuItem29.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem29.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem30, + this.ToolStripMenuItem31, + this.ToolStripMenuItem32, + this.ToolStripMenuItem33, + this.ToolStripMenuItem34}); + this.ToolStripMenuItem29.Name = "ToolStripMenuItem29"; + this.ToolStripMenuItem29.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem29.Text = "Toolbars"; + // + // ToolStripMenuItem30 + // + this.ToolStripMenuItem30.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem30.Name = "ToolStripMenuItem30"; + this.ToolStripMenuItem30.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem30.Text = "Standard Buttons"; + // + // ToolStripMenuItem31 + // + this.ToolStripMenuItem31.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem31.Name = "ToolStripMenuItem31"; + this.ToolStripMenuItem31.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem31.Text = "Address Bar"; + // + // ToolStripMenuItem32 + // + this.ToolStripMenuItem32.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem32.Name = "ToolStripMenuItem32"; + this.ToolStripMenuItem32.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem32.Text = "Links"; + // + // ToolStripMenuItem33 + // + this.ToolStripMenuItem33.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem33.Name = "ToolStripMenuItem33"; + this.ToolStripMenuItem33.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem33.Text = "Radio"; + // + // ToolStripMenuItem34 + // + this.ToolStripMenuItem34.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem34.Name = "ToolStripMenuItem34"; + this.ToolStripMenuItem34.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem34.Text = "Customize..."; + // + // ToolStripMenuItem35 + // + this.ToolStripMenuItem35.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem35.Name = "ToolStripMenuItem35"; + this.ToolStripMenuItem35.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem35.Text = "Status Bar"; + // + // ToolStripMenuItem36 + // + this.ToolStripMenuItem36.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem36.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem37, + this.ToolStripMenuItem38, + this.ToolStripMenuItem39, + this.ToolStripMenuItem40}); + this.ToolStripMenuItem36.Name = "ToolStripMenuItem36"; + this.ToolStripMenuItem36.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem36.Text = "Explorer Bar"; + // + // ToolStripMenuItem37 + // + this.ToolStripMenuItem37.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem37.Name = "ToolStripMenuItem37"; + this.ToolStripMenuItem37.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem37.Text = "Search Ctrl+E"; + // + // ToolStripMenuItem38 + // + this.ToolStripMenuItem38.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem38.Name = "ToolStripMenuItem38"; + this.ToolStripMenuItem38.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem38.Text = "Favorites Ctrl+I"; + // + // ToolStripMenuItem39 + // + this.ToolStripMenuItem39.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem39.Name = "ToolStripMenuItem39"; + this.ToolStripMenuItem39.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem39.Text = "History Ctrl+H"; + // + // ToolStripMenuItem40 + // + this.ToolStripMenuItem40.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem40.Name = "ToolStripMenuItem40"; + this.ToolStripMenuItem40.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem40.Text = "Tip of the Day"; + // + // ToolStripMenuItem41 + // + this.ToolStripMenuItem41.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem41.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem42}); + this.ToolStripMenuItem41.Name = "ToolStripMenuItem41"; + this.ToolStripMenuItem41.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem41.Text = "Go To"; + // + // ToolStripMenuItem42 + // + this.ToolStripMenuItem42.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem42.Name = "ToolStripMenuItem42"; + this.ToolStripMenuItem42.Size = new System.Drawing.Size(136, 22); + this.ToolStripMenuItem42.Text = "Home Page"; + // + // ToolStripMenuItem43 + // + this.ToolStripMenuItem43.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem43.Name = "ToolStripMenuItem43"; + this.ToolStripMenuItem43.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem43.Text = "Stop Esc"; + // + // ToolStripMenuItem44 + // + this.ToolStripMenuItem44.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem44.Name = "ToolStripMenuItem44"; + this.ToolStripMenuItem44.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem44.Text = "Refresh F5"; + // + // ToolStripMenuItem45 + // + this.ToolStripMenuItem45.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem45.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem46, + this.ToolStripMenuItem47, + this.ToolStripMenuItem48, + this.ToolStripMenuItem49, + this.ToolStripMenuItem50}); + this.ToolStripMenuItem45.Name = "ToolStripMenuItem45"; + this.ToolStripMenuItem45.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem45.Text = "Text Size"; + // + // ToolStripMenuItem46 + // + this.ToolStripMenuItem46.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem46.Name = "ToolStripMenuItem46"; + this.ToolStripMenuItem46.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem46.Text = "Largest"; + // + // ToolStripMenuItem47 + // + this.ToolStripMenuItem47.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem47.Name = "ToolStripMenuItem47"; + this.ToolStripMenuItem47.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem47.Text = "Larger"; + // + // ToolStripMenuItem48 + // + this.ToolStripMenuItem48.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem48.Name = "ToolStripMenuItem48"; + this.ToolStripMenuItem48.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem48.Text = "Medium"; + // + // ToolStripMenuItem49 + // + this.ToolStripMenuItem49.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem49.Name = "ToolStripMenuItem49"; + this.ToolStripMenuItem49.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem49.Text = "Smaller"; + // + // ToolStripMenuItem50 + // + this.ToolStripMenuItem50.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem50.Name = "ToolStripMenuItem50"; + this.ToolStripMenuItem50.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem50.Text = "Smallest"; + // + // ToolStripMenuItem51 + // + this.ToolStripMenuItem51.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem51.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem52, + this.ToolStripMenuItem53, + this.ToolStripMenuItem54}); + this.ToolStripMenuItem51.Name = "ToolStripMenuItem51"; + this.ToolStripMenuItem51.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem51.Text = "Encoding"; + // + // ToolStripMenuItem52 + // + this.ToolStripMenuItem52.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem52.Name = "ToolStripMenuItem52"; + this.ToolStripMenuItem52.Size = new System.Drawing.Size(230, 22); + this.ToolStripMenuItem52.Text = "Auto-Select"; + // + // ToolStripMenuItem53 + // + this.ToolStripMenuItem53.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem53.Name = "ToolStripMenuItem53"; + this.ToolStripMenuItem53.Size = new System.Drawing.Size(230, 22); + this.ToolStripMenuItem53.Text = "Western European (Windows)"; + // + // ToolStripMenuItem54 + // + this.ToolStripMenuItem54.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem54.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem55, + this.ToolStripMenuItem56, + this.ToolStripMenuItem57, + this.ToolStripMenuItem58, + this.ToolStripMenuItem59, + this.ToolStripMenuItem60, + this.ToolStripMenuItem61, + this.ToolStripMenuItem62, + this.ToolStripMenuItem63, + this.ToolStripMenuItem64, + this.ToolStripMenuItem65, + this.ToolStripMenuItem66, + this.ToolStripMenuItem67, + this.ToolStripMenuItem68, + this.ToolStripMenuItem69, + this.ToolStripMenuItem70}); + this.ToolStripMenuItem54.Name = "ToolStripMenuItem54"; + this.ToolStripMenuItem54.Size = new System.Drawing.Size(230, 22); + this.ToolStripMenuItem54.Text = "More"; + // + // ToolStripMenuItem55 + // + this.ToolStripMenuItem55.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem55.Name = "ToolStripMenuItem55"; + this.ToolStripMenuItem55.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem55.Text = "Arabic"; + // + // ToolStripMenuItem56 + // + this.ToolStripMenuItem56.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem56.Name = "ToolStripMenuItem56"; + this.ToolStripMenuItem56.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem56.Text = "Baltic"; + // + // ToolStripMenuItem57 + // + this.ToolStripMenuItem57.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem57.Name = "ToolStripMenuItem57"; + this.ToolStripMenuItem57.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem57.Text = "Central European"; + // + // ToolStripMenuItem58 + // + this.ToolStripMenuItem58.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem58.Name = "ToolStripMenuItem58"; + this.ToolStripMenuItem58.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem58.Text = "Chinese Simplified"; + // + // ToolStripMenuItem59 + // + this.ToolStripMenuItem59.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem59.Name = "ToolStripMenuItem59"; + this.ToolStripMenuItem59.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem59.Text = "Chinese Traditional"; + // + // ToolStripMenuItem60 + // + this.ToolStripMenuItem60.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem60.Name = "ToolStripMenuItem60"; + this.ToolStripMenuItem60.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem60.Text = "Cyrillic"; + // + // ToolStripMenuItem61 + // + this.ToolStripMenuItem61.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem61.Name = "ToolStripMenuItem61"; + this.ToolStripMenuItem61.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem61.Text = "Greek"; + // + // ToolStripMenuItem62 + // + this.ToolStripMenuItem62.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem62.Name = "ToolStripMenuItem62"; + this.ToolStripMenuItem62.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem62.Text = "Hebrew"; + // + // ToolStripMenuItem63 + // + this.ToolStripMenuItem63.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem63.Name = "ToolStripMenuItem63"; + this.ToolStripMenuItem63.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem63.Text = "Japanese"; + // + // ToolStripMenuItem64 + // + this.ToolStripMenuItem64.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem64.Name = "ToolStripMenuItem64"; + this.ToolStripMenuItem64.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem64.Text = "Korean"; + // + // ToolStripMenuItem65 + // + this.ToolStripMenuItem65.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem65.Name = "ToolStripMenuItem65"; + this.ToolStripMenuItem65.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem65.Text = "Thai"; + // + // ToolStripMenuItem66 + // + this.ToolStripMenuItem66.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem66.Name = "ToolStripMenuItem66"; + this.ToolStripMenuItem66.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem66.Text = "Turkish"; + // + // ToolStripMenuItem67 + // + this.ToolStripMenuItem67.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem67.Name = "ToolStripMenuItem67"; + this.ToolStripMenuItem67.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem67.Text = "Unicode (UTF-8)"; + // + // ToolStripMenuItem68 + // + this.ToolStripMenuItem68.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem68.Name = "ToolStripMenuItem68"; + this.ToolStripMenuItem68.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem68.Text = "User Defined"; + // + // ToolStripMenuItem69 + // + this.ToolStripMenuItem69.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem69.Name = "ToolStripMenuItem69"; + this.ToolStripMenuItem69.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem69.Text = "Vietnamese"; + // + // ToolStripMenuItem70 + // + this.ToolStripMenuItem70.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem70.Name = "ToolStripMenuItem70"; + this.ToolStripMenuItem70.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem70.Text = "Western European (ISO)"; + // + // ToolStripMenuItem71 + // + this.ToolStripMenuItem71.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem71.Name = "ToolStripMenuItem71"; + this.ToolStripMenuItem71.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem71.Text = "Source"; + // + // ToolStripMenuItem72 + // + this.ToolStripMenuItem72.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem72.Name = "ToolStripMenuItem72"; + this.ToolStripMenuItem72.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem72.Text = "Full Screen F11"; + // + // ToolStripMenuItem78 + // + this.ToolStripMenuItem78.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem79, + this.ToolStripMenuItem85, + this.ToolStripMenuItem86, + this.ToolStripMenuItem87}); + this.ToolStripMenuItem78.Name = "ToolStripMenuItem78"; + this.ToolStripMenuItem78.Size = new System.Drawing.Size(34, 20); + this.ToolStripMenuItem78.Text = "Go"; + // + // ToolStripMenuItem79 + // + this.ToolStripMenuItem79.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem79.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem80, + this.ToolStripMenuItem81, + this.ToolStripMenuItem82, + this.ToolStripMenuItem83, + this.ToolStripMenuItem84}); + this.ToolStripMenuItem79.Name = "ToolStripMenuItem79"; + this.ToolStripMenuItem79.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem79.Text = "Mail and News"; + // + // ToolStripMenuItem80 + // + this.ToolStripMenuItem80.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem80.Name = "ToolStripMenuItem80"; + this.ToolStripMenuItem80.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem80.Text = "Read Mail"; + // + // ToolStripMenuItem81 + // + this.ToolStripMenuItem81.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem81.Name = "ToolStripMenuItem81"; + this.ToolStripMenuItem81.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem81.Text = "New Message..."; + // + // ToolStripMenuItem82 + // + this.ToolStripMenuItem82.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem82.Name = "ToolStripMenuItem82"; + this.ToolStripMenuItem82.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem82.Text = "Send a Link..."; + // + // ToolStripMenuItem83 + // + this.ToolStripMenuItem83.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem83.Name = "ToolStripMenuItem83"; + this.ToolStripMenuItem83.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem83.Text = "Send Page..."; + // + // ToolStripMenuItem84 + // + this.ToolStripMenuItem84.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem84.Name = "ToolStripMenuItem84"; + this.ToolStripMenuItem84.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem84.Text = "Read News"; + // + // ToolStripMenuItem85 + // + this.ToolStripMenuItem85.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem85.Name = "ToolStripMenuItem85"; + this.ToolStripMenuItem85.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem85.Text = "Windows Update"; + // + // ToolStripMenuItem86 + // + this.ToolStripMenuItem86.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem86.Name = "ToolStripMenuItem86"; + this.ToolStripMenuItem86.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem86.Text = "Show Related Links"; + // + // ToolStripMenuItem87 + // + this.ToolStripMenuItem87.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem87.Name = "ToolStripMenuItem87"; + this.ToolStripMenuItem87.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem87.Text = "Internet Options..."; + // + // ToolStripMenuItem73 + // + this.ToolStripMenuItem73.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem74, + this.ToolStripMenuItem75, + this.ToolStripMenuItem76}); + this.ToolStripMenuItem73.Name = "ToolStripMenuItem73"; + this.ToolStripMenuItem73.Size = new System.Drawing.Size(66, 20); + this.ToolStripMenuItem73.Text = "Favorites"; + // + // ToolStripMenuItem74 + // + this.ToolStripMenuItem74.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem74.Name = "ToolStripMenuItem74"; + this.ToolStripMenuItem74.Size = new System.Drawing.Size(180, 22); + this.ToolStripMenuItem74.Text = "Add to Favorites..."; + // + // ToolStripMenuItem75 + // + this.ToolStripMenuItem75.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem75.Name = "ToolStripMenuItem75"; + this.ToolStripMenuItem75.Size = new System.Drawing.Size(180, 22); + this.ToolStripMenuItem75.Text = "Organize Favorites..."; + // + // ToolStripMenuItem76 + // + this.ToolStripMenuItem76.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem76.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem77}); + this.ToolStripMenuItem76.Name = "ToolStripMenuItem76"; + this.ToolStripMenuItem76.Size = new System.Drawing.Size(180, 22); + this.ToolStripMenuItem76.Text = "Links"; + // + // ToolStripMenuItem77 + // + this.ToolStripMenuItem77.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem77.Name = "ToolStripMenuItem77"; + this.ToolStripMenuItem77.Size = new System.Drawing.Size(109, 22); + this.ToolStripMenuItem77.Text = "(none)"; + // + // ToolStripMenuItem88 + // + this.ToolStripMenuItem88.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem89, + this.ToolStripMenuItem90, + this.ToolStripMenuItem91, + this.ToolStripMenuItem92, + this.ToolStripMenuItem93, + this.ToolStripMenuItem94, + this.ToolStripMenuItem95}); + this.ToolStripMenuItem88.Name = "ToolStripMenuItem88"; + this.ToolStripMenuItem88.Size = new System.Drawing.Size(44, 20); + this.ToolStripMenuItem88.Text = "Help"; + // + // ToolStripMenuItem89 + // + this.ToolStripMenuItem89.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem89.Name = "ToolStripMenuItem89"; + this.ToolStripMenuItem89.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem89.Text = "Contects and Index"; + // + // ToolStripMenuItem90 + // + this.ToolStripMenuItem90.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem90.Name = "ToolStripMenuItem90"; + this.ToolStripMenuItem90.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem90.Text = "Tip of the Day"; + // + // ToolStripMenuItem91 + // + this.ToolStripMenuItem91.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem91.Name = "ToolStripMenuItem91"; + this.ToolStripMenuItem91.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem91.Text = "For Netscape Users"; + // + // ToolStripMenuItem92 + // + this.ToolStripMenuItem92.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem92.Name = "ToolStripMenuItem92"; + this.ToolStripMenuItem92.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem92.Text = "Tour"; + // + // ToolStripMenuItem93 + // + this.ToolStripMenuItem93.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem93.Name = "ToolStripMenuItem93"; + this.ToolStripMenuItem93.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem93.Text = "Online Support"; + // + // ToolStripMenuItem94 + // + this.ToolStripMenuItem94.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem94.Name = "ToolStripMenuItem94"; + this.ToolStripMenuItem94.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem94.Text = "About Internet Explorer"; + // + // ToolStripMenuItem95 + // + this.ToolStripMenuItem95.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem95.Name = "ToolStripMenuItem95"; + this.ToolStripMenuItem95.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem95.Text = "Send Feedback"; + // + // _browsingArea + // + this._browsingArea.Dock = System.Windows.Forms.DockStyle.Fill; + this._browsingArea.Location = new System.Drawing.Point(0, 111); + this._browsingArea.Name = "browsingArea"; + this._browsingArea.Size = new System.Drawing.Size(959, 483); + this._browsingArea.TabIndex = 17; + // + // TempIE4 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this._browsingArea); + this.Controls.Add(this.Panel14); + this.Controls.Add(this.Panel1); + this.Controls.Add(this.MenuStrip3); + this.Name = "TempIE4"; + this.Size = new System.Drawing.Size(959, 594); + this.Load += new System.EventHandler(this.TempIE4_Load); + this.Panel14.ResumeLayout(false); + this.Panel14.PerformLayout(); + this.Panel1.ResumeLayout(false); + this.MenuStrip3.ResumeLayout(false); + this.MenuStrip3.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + internal System.Windows.Forms.Panel Panel14; + internal System.Windows.Forms.Button GoButton; + internal System.Windows.Forms.ComboBox addressbar; + internal System.Windows.Forms.Label Label1; + internal System.Windows.Forms.Button Button30; + internal System.Windows.Forms.Button Button29; + internal System.Windows.Forms.Button Button28; + internal System.Windows.Forms.Button Button27; + internal System.Windows.Forms.Button Button7; + internal System.Windows.Forms.Button Button6; + internal System.Windows.Forms.Button HomeButton; + internal System.Windows.Forms.Button Button4; + internal System.Windows.Forms.Button Button3; + internal System.Windows.Forms.Button ForwardButton; + internal System.Windows.Forms.Button BackButton; + internal System.Windows.Forms.Panel Panel1; + internal System.Windows.Forms.MenuStrip MenuStrip3; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem2; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem3; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem4; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem5; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem6; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem7; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem8; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem9; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem10; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem11; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem12; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem13; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem14; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem15; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem16; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem17; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem18; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem19; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem20; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem21; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem22; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem23; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem24; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem25; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem26; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem27; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem28; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem29; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem30; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem31; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem32; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem33; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem34; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem35; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem36; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem37; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem38; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem39; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem40; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem41; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem42; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem43; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem44; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem45; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem46; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem47; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem48; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem49; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem50; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem51; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem52; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem53; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem54; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem55; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem56; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem57; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem58; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem59; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem60; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem61; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem62; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem63; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem64; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem65; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem66; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem67; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem68; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem69; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem70; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem71; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem72; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem78; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem79; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem80; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem81; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem82; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem83; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem84; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem85; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem86; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem87; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem73; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem74; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem75; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem76; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem77; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem88; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem89; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem90; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem91; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem92; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem93; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem94; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem95; + private System.Windows.Forms.Panel _browsingArea; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs new file mode 100644 index 0000000..8f5de0f --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using TimeHACK.OS.Win95.Win95Apps.IE4Sites; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class TempIE4 : UserControl + { + public static Panel browsingArea = new Panel(); + + public TempIE4() + { + InitializeComponent(); + browsingArea = _browsingArea; + } + + public static void GoToPage(string url) + { + UserControl uc = new UserControl(); + + switch (url) + { + case "www.google.com": + uc = new GoogleHome(); + break; + case "www.google.stanford.edu": + uc = new GooglePrototype(); + break; + } + + uc.Dock = DockStyle.Fill; + browsingArea.Controls.Clear(); + browsingArea.Controls.Add(uc); + } + + private void TempIE4_Load(object sender, EventArgs e) + { + GoToPage("www.google.com"); + } + + private void GoButton_Click(object sender, EventArgs e) + { + GoToPage(addressbar.Text); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx new file mode 100644 index 0000000..5039d37 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs index e7647dc..ebcbf56 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -188,7 +188,7 @@ namespace TimeHACK.OS.Win95.Win95Apps // Things for Cut/Copy/Paste have been placed in the "Designer-Stuff" region! - void SetSelectedTextFont(String font) + void SetSelectedTextFont(string font) { // The next two lines convert a String to a Font var cvt = new FontConverter(); @@ -197,7 +197,7 @@ namespace TimeHACK.OS.Win95.Win95Apps mainText.SelectionFont = f; } - void SetSelectedTextSize(String size) + void SetSelectedTextSize(string size) { // The next few lines will ATTEMPT to convert a String to an Integer int SizeInt = Convert.ToInt32(size); diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 605b079..8d2f76d 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -119,9 +119,6 @@ - - ..\..\..\..\Downloads\TransparentListView\TransparentListView.dll - @@ -136,7 +133,25 @@ SurviveTheDay.cs + + UserControl + + + GoogleHome.cs + + + UserControl + + + GooglePrototype.cs + + + UserControl + + + TempIE4.cs + UserControl @@ -300,6 +315,15 @@ SurviveTheDay.cs + + GoogleHome.cs + + + GooglePrototype.cs + + + TempIE4.cs + Win95Installer.cs -- cgit v1.2.3 From 49f0c7a892895f0cfd9a96b0631b510a1794e2d2 Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Wed, 12 Jul 2017 12:32:35 -0400 Subject: Basic Kinda working calc The title --- TimeHACK.Main/OS/Win95/Win95.Designer.cs | 21 +- TimeHACK.Main/OS/Win95/Win95.cs | 13 + TimeHACK.Main/OS/Win95/Win95.resx | 2 +- .../Win95Apps/WinClassicCalculator.Designer.cs | 574 +++++++++++++++++++++ .../OS/Win95/Win95Apps/WinClassicCalculator.cs | 265 ++++++++++ .../OS/Win95/Win95Apps/WinClassicCalculator.resx | 126 +++++ TimeHACK.Main/TimeHACK.Main.csproj | 9 + 7 files changed, 999 insertions(+), 11 deletions(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index e96c0ff..144b0c9 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -93,6 +93,7 @@ namespace TimeHACK.OS.Win95 this.downloaderTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.installerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.storyTest1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.iE4TestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ControlPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PrintersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -130,7 +131,6 @@ namespace TimeHACK.OS.Win95 this.BitmapImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MicrosoftDataLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PropertiesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.iE4TestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); this.taskbar.SuspendLayout(); this.clockPanel.SuspendLayout(); @@ -457,6 +457,7 @@ namespace TimeHACK.OS.Win95 this.CalculatorToolStripMenuItem.Name = "CalculatorToolStripMenuItem"; this.CalculatorToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.CalculatorToolStripMenuItem.Text = "Calculator"; + this.CalculatorToolStripMenuItem.Click += new System.EventHandler(this.CalculatorToolStripMenuItem_Click); // // HyperTerminalToolStripMenuItem // @@ -781,6 +782,15 @@ namespace TimeHACK.OS.Win95 this.storyTest1ToolStripMenuItem.Text = "StoryTest1"; this.storyTest1ToolStripMenuItem.Click += new System.EventHandler(this.storyTest1ToolStripMenuItem_Click); // + // iE4TestToolStripMenuItem + // + this.iE4TestToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control; + this.iE4TestToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.iE4TestToolStripMenuItem.Name = "iE4TestToolStripMenuItem"; + this.iE4TestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.iE4TestToolStripMenuItem.Text = "IE4Test"; + this.iE4TestToolStripMenuItem.Click += new System.EventHandler(this.iE4TestToolStripMenuItem_Click); + // // SettingsToolStripMenuItem // this.SettingsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; @@ -1145,15 +1155,6 @@ namespace TimeHACK.OS.Win95 this.PropertiesToolStripMenuItem1.Text = "Properties"; this.PropertiesToolStripMenuItem1.Click += new System.EventHandler(this.PropertiesToolStripMenuItem1_Click); // - // iE4TestToolStripMenuItem - // - this.iE4TestToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control; - this.iE4TestToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.iE4TestToolStripMenuItem.Name = "iE4TestToolStripMenuItem"; - this.iE4TestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); - this.iE4TestToolStripMenuItem.Text = "IE4Test"; - this.iE4TestToolStripMenuItem.Click += new System.EventHandler(this.iE4TestToolStripMenuItem_Click); - // // Windows95 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index e08d436..7efe5e9 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -450,6 +450,19 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } + + private void CalculatorToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Calculator", Properties.Resources.WinClassicCalc); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + startmenu.Hide(); + } } public class MyRenderer : ToolStripProfessionalRenderer { diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index e0111f1..ec161c8 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -382,7 +382,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq - ggAAAk1TRnQBSQFMAgEBDAEAAZABAQGQAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA + ggAAAk1TRnQBSQFMAgEBDAEAAZgBAQGYAQEBIAEAASABAAT/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/ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs new file mode 100644 index 0000000..b34082d --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs @@ -0,0 +1,574 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicCalculator + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.HelpToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.AboutCalculatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.StandardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ScientificToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.HelpToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.PasteCtrlVToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.CopyCtrlCToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.EditToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.txtNumbers = new System.Windows.Forms.TextBox(); + this.Button27 = new System.Windows.Forms.Button(); + this.Button26 = new System.Windows.Forms.Button(); + this.Button1 = new System.Windows.Forms.Button(); + this.Button25 = new System.Windows.Forms.Button(); + this.Button2 = new System.Windows.Forms.Button(); + this.Button21 = new System.Windows.Forms.Button(); + this.Button3 = new System.Windows.Forms.Button(); + this.Button22 = new System.Windows.Forms.Button(); + this.Button4 = new System.Windows.Forms.Button(); + this.Button23 = new System.Windows.Forms.Button(); + this.Button11 = new System.Windows.Forms.Button(); + this.Button7 = new System.Windows.Forms.Button(); + this.Button16 = new System.Windows.Forms.Button(); + this.Button24 = new System.Windows.Forms.Button(); + this.Button12 = new System.Windows.Forms.Button(); + this.Button6 = new System.Windows.Forms.Button(); + this.Button15 = new System.Windows.Forms.Button(); + this.Button17 = new System.Windows.Forms.Button(); + this.Button13 = new System.Windows.Forms.Button(); + this.Button5 = new System.Windows.Forms.Button(); + this.Button14 = new System.Windows.Forms.Button(); + this.Button18 = new System.Windows.Forms.Button(); + this.Button8 = new System.Windows.Forms.Button(); + this.Button10 = new System.Windows.Forms.Button(); + this.Button20 = new System.Windows.Forms.Button(); + this.Button19 = new System.Windows.Forms.Button(); + this.Button9 = new System.Windows.Forms.Button(); + this.MenuStrip2 = new System.Windows.Forms.MenuStrip(); + this.MenuStrip2.SuspendLayout(); + this.SuspendLayout(); + // + // timer1 + // + this.timer1.Interval = 1; + // + // HelpToolStripMenuItem3 + // + this.HelpToolStripMenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.AboutCalculatorToolStripMenuItem}); + this.HelpToolStripMenuItem3.Name = "HelpToolStripMenuItem3"; + this.HelpToolStripMenuItem3.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem3.Text = "Help"; + // + // AboutCalculatorToolStripMenuItem + // + this.AboutCalculatorToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.AboutCalculatorToolStripMenuItem.Name = "AboutCalculatorToolStripMenuItem"; + this.AboutCalculatorToolStripMenuItem.Size = new System.Drawing.Size(164, 22); + this.AboutCalculatorToolStripMenuItem.Text = "About Calculator"; + // + // StandardToolStripMenuItem + // + this.StandardToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.StandardToolStripMenuItem.Name = "StandardToolStripMenuItem"; + this.StandardToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.StandardToolStripMenuItem.Text = "Standard"; + // + // ScientificToolStripMenuItem + // + this.ScientificToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ScientificToolStripMenuItem.Name = "ScientificToolStripMenuItem"; + this.ScientificToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.ScientificToolStripMenuItem.Text = "Scientific"; + // + // HelpToolStripMenuItem2 + // + this.HelpToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ScientificToolStripMenuItem, + this.StandardToolStripMenuItem}); + this.HelpToolStripMenuItem2.Name = "HelpToolStripMenuItem2"; + this.HelpToolStripMenuItem2.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem2.Text = "View"; + // + // PasteCtrlVToolStripMenuItem1 + // + this.PasteCtrlVToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.PasteCtrlVToolStripMenuItem1.Name = "PasteCtrlVToolStripMenuItem1"; + this.PasteCtrlVToolStripMenuItem1.Size = new System.Drawing.Size(158, 22); + this.PasteCtrlVToolStripMenuItem1.Text = "Paste Ctrl+V"; + // + // CopyCtrlCToolStripMenuItem1 + // + this.CopyCtrlCToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.CopyCtrlCToolStripMenuItem1.Name = "CopyCtrlCToolStripMenuItem1"; + this.CopyCtrlCToolStripMenuItem1.Size = new System.Drawing.Size(158, 22); + this.CopyCtrlCToolStripMenuItem1.Text = "Copy Ctrl+C"; + // + // EditToolStripMenuItem1 + // + this.EditToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.EditToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.CopyCtrlCToolStripMenuItem1, + this.PasteCtrlVToolStripMenuItem1}); + this.EditToolStripMenuItem1.Name = "EditToolStripMenuItem1"; + this.EditToolStripMenuItem1.Size = new System.Drawing.Size(39, 20); + this.EditToolStripMenuItem1.Text = "Edit"; + // + // txtNumbers + // + this.txtNumbers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNumbers.Location = new System.Drawing.Point(18, 62); + this.txtNumbers.Multiline = true; + this.txtNumbers.Name = "txtNumbers"; + this.txtNumbers.ReadOnly = true; + this.txtNumbers.Size = new System.Drawing.Size(272, 28); + this.txtNumbers.TabIndex = 85; + this.txtNumbers.Text = "0"; + this.txtNumbers.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // Button27 + // + this.Button27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button27.ForeColor = System.Drawing.Color.Firebrick; + this.Button27.Location = new System.Drawing.Point(179, 96); + this.Button27.Name = "Button27"; + this.Button27.Size = new System.Drawing.Size(53, 30); + this.Button27.TabIndex = 84; + this.Button27.Text = "CE"; + this.Button27.UseVisualStyleBackColor = true; + // + // Button26 + // + this.Button26.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button26.ForeColor = System.Drawing.Color.Firebrick; + this.Button26.Location = new System.Drawing.Point(237, 96); + this.Button26.Name = "Button26"; + this.Button26.Size = new System.Drawing.Size(53, 30); + this.Button26.TabIndex = 83; + this.Button26.Text = "C"; + this.Button26.UseVisualStyleBackColor = true; + // + // Button1 + // + this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button1.ForeColor = System.Drawing.Color.Red; + this.Button1.Location = new System.Drawing.Point(18, 172); + this.Button1.Name = "Button1"; + this.Button1.Size = new System.Drawing.Size(38, 30); + this.Button1.TabIndex = 58; + this.Button1.Text = "MR"; + this.Button1.UseVisualStyleBackColor = true; + // + // Button25 + // + this.Button25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button25.ForeColor = System.Drawing.Color.Firebrick; + this.Button25.Location = new System.Drawing.Point(120, 96); + this.Button25.Name = "Button25"; + this.Button25.Size = new System.Drawing.Size(53, 30); + this.Button25.TabIndex = 82; + this.Button25.Text = "Back"; + this.Button25.UseVisualStyleBackColor = true; + // + // Button2 + // + this.Button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button2.ForeColor = System.Drawing.Color.Red; + this.Button2.Location = new System.Drawing.Point(18, 243); + this.Button2.Name = "Button2"; + this.Button2.Size = new System.Drawing.Size(38, 30); + this.Button2.TabIndex = 59; + this.Button2.Text = "M+"; + this.Button2.UseVisualStyleBackColor = true; + // + // Button21 + // + this.Button21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button21.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button21.Location = new System.Drawing.Point(252, 243); + this.Button21.Name = "Button21"; + this.Button21.Size = new System.Drawing.Size(38, 30); + this.Button21.TabIndex = 81; + this.Button21.Text = "="; + this.Button21.UseVisualStyleBackColor = true; + this.Button21.Click += new System.EventHandler(this.Button21_Click); + // + // Button3 + // + this.Button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button3.ForeColor = System.Drawing.Color.Red; + this.Button3.Location = new System.Drawing.Point(18, 208); + this.Button3.Name = "Button3"; + this.Button3.Size = new System.Drawing.Size(38, 30); + this.Button3.TabIndex = 60; + this.Button3.Text = "MS"; + this.Button3.UseVisualStyleBackColor = true; + // + // Button22 + // + this.Button22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button22.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button22.Location = new System.Drawing.Point(252, 136); + this.Button22.Name = "Button22"; + this.Button22.Size = new System.Drawing.Size(38, 30); + this.Button22.TabIndex = 80; + this.Button22.Text = "sqrt"; + this.Button22.UseVisualStyleBackColor = true; + // + // Button4 + // + this.Button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button4.ForeColor = System.Drawing.Color.Red; + this.Button4.Location = new System.Drawing.Point(18, 136); + this.Button4.Name = "Button4"; + this.Button4.Size = new System.Drawing.Size(38, 30); + this.Button4.TabIndex = 61; + this.Button4.Text = "MC"; + this.Button4.UseVisualStyleBackColor = true; + // + // Button23 + // + this.Button23.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button23.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button23.Location = new System.Drawing.Point(252, 208); + this.Button23.Name = "Button23"; + this.Button23.Size = new System.Drawing.Size(38, 30); + this.Button23.TabIndex = 79; + this.Button23.Text = "1/x"; + this.Button23.UseVisualStyleBackColor = true; + // + // Button11 + // + this.Button11.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button11.ForeColor = System.Drawing.Color.Blue; + this.Button11.Location = new System.Drawing.Point(162, 136); + this.Button11.Name = "Button11"; + this.Button11.Size = new System.Drawing.Size(38, 30); + this.Button11.TabIndex = 70; + this.Button11.Text = "9"; + this.Button11.UseVisualStyleBackColor = true; + // + // Button7 + // + this.Button7.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button7.ForeColor = System.Drawing.Color.Blue; + this.Button7.Location = new System.Drawing.Point(74, 172); + this.Button7.Name = "Button7"; + this.Button7.Size = new System.Drawing.Size(38, 30); + this.Button7.TabIndex = 62; + this.Button7.Text = "4"; + this.Button7.UseVisualStyleBackColor = true; + // + // Button16 + // + this.Button16.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button16.ForeColor = System.Drawing.Color.Blue; + this.Button16.Location = new System.Drawing.Point(74, 243); + this.Button16.Name = "Button16"; + this.Button16.Size = new System.Drawing.Size(38, 30); + this.Button16.TabIndex = 71; + this.Button16.Text = "0"; + this.Button16.UseVisualStyleBackColor = true; + // + // Button24 + // + this.Button24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button24.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button24.Location = new System.Drawing.Point(252, 172); + this.Button24.Name = "Button24"; + this.Button24.Size = new System.Drawing.Size(38, 30); + this.Button24.TabIndex = 78; + this.Button24.Text = "%"; + this.Button24.UseVisualStyleBackColor = true; + // + // Button12 + // + this.Button12.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button12.ForeColor = System.Drawing.Color.Blue; + this.Button12.Location = new System.Drawing.Point(162, 208); + this.Button12.Name = "Button12"; + this.Button12.Size = new System.Drawing.Size(38, 30); + this.Button12.TabIndex = 69; + this.Button12.Text = "3"; + this.Button12.UseVisualStyleBackColor = true; + // + // Button6 + // + this.Button6.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button6.ForeColor = System.Drawing.Color.Blue; + this.Button6.Location = new System.Drawing.Point(74, 208); + this.Button6.Name = "Button6"; + this.Button6.Size = new System.Drawing.Size(38, 30); + this.Button6.TabIndex = 63; + this.Button6.Text = "1"; + this.Button6.UseVisualStyleBackColor = true; + // + // Button15 + // + this.Button15.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button15.ForeColor = System.Drawing.Color.Blue; + this.Button15.Location = new System.Drawing.Point(118, 243); + this.Button15.Name = "Button15"; + this.Button15.Size = new System.Drawing.Size(38, 30); + this.Button15.TabIndex = 72; + this.Button15.Text = "+/-"; + this.Button15.UseVisualStyleBackColor = true; + // + // Button17 + // + this.Button17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button17.ForeColor = System.Drawing.Color.Red; + this.Button17.Location = new System.Drawing.Point(208, 243); + this.Button17.Name = "Button17"; + this.Button17.Size = new System.Drawing.Size(38, 30); + this.Button17.TabIndex = 77; + this.Button17.Text = "+"; + this.Button17.UseVisualStyleBackColor = true; + // + // Button13 + // + this.Button13.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button13.ForeColor = System.Drawing.Color.Blue; + this.Button13.Location = new System.Drawing.Point(162, 172); + this.Button13.Name = "Button13"; + this.Button13.Size = new System.Drawing.Size(38, 30); + this.Button13.TabIndex = 68; + this.Button13.Text = "6"; + this.Button13.UseVisualStyleBackColor = true; + // + // Button5 + // + this.Button5.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button5.ForeColor = System.Drawing.Color.Blue; + this.Button5.Location = new System.Drawing.Point(74, 136); + this.Button5.Name = "Button5"; + this.Button5.Size = new System.Drawing.Size(38, 30); + this.Button5.TabIndex = 64; + this.Button5.Text = "7"; + this.Button5.UseVisualStyleBackColor = true; + // + // Button14 + // + this.Button14.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button14.ForeColor = System.Drawing.Color.Blue; + this.Button14.Location = new System.Drawing.Point(162, 243); + this.Button14.Name = "Button14"; + this.Button14.Size = new System.Drawing.Size(38, 30); + this.Button14.TabIndex = 73; + this.Button14.Text = "."; + this.Button14.UseVisualStyleBackColor = true; + // + // Button18 + // + this.Button18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button18.ForeColor = System.Drawing.Color.Red; + this.Button18.Location = new System.Drawing.Point(208, 136); + this.Button18.Name = "Button18"; + this.Button18.Size = new System.Drawing.Size(38, 30); + this.Button18.TabIndex = 76; + this.Button18.Text = "/"; + this.Button18.UseVisualStyleBackColor = true; + // + // Button8 + // + this.Button8.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button8.ForeColor = System.Drawing.Color.Blue; + this.Button8.Location = new System.Drawing.Point(118, 136); + this.Button8.Name = "Button8"; + this.Button8.Size = new System.Drawing.Size(38, 30); + this.Button8.TabIndex = 67; + this.Button8.Text = "8"; + this.Button8.UseVisualStyleBackColor = true; + // + // Button10 + // + this.Button10.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button10.ForeColor = System.Drawing.Color.Blue; + this.Button10.Location = new System.Drawing.Point(118, 172); + this.Button10.Name = "Button10"; + this.Button10.Size = new System.Drawing.Size(38, 30); + this.Button10.TabIndex = 65; + this.Button10.Text = "5"; + this.Button10.UseVisualStyleBackColor = true; + // + // Button20 + // + this.Button20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button20.ForeColor = System.Drawing.Color.Red; + this.Button20.Location = new System.Drawing.Point(208, 172); + this.Button20.Name = "Button20"; + this.Button20.Size = new System.Drawing.Size(38, 30); + this.Button20.TabIndex = 74; + this.Button20.Text = "*"; + this.Button20.UseVisualStyleBackColor = true; + // + // Button19 + // + this.Button19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button19.ForeColor = System.Drawing.Color.Red; + this.Button19.Location = new System.Drawing.Point(208, 208); + this.Button19.Name = "Button19"; + this.Button19.Size = new System.Drawing.Size(38, 30); + this.Button19.TabIndex = 75; + this.Button19.Text = "-"; + this.Button19.UseVisualStyleBackColor = true; + // + // Button9 + // + this.Button9.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button9.ForeColor = System.Drawing.Color.Blue; + this.Button9.Location = new System.Drawing.Point(118, 208); + this.Button9.Name = "Button9"; + this.Button9.Size = new System.Drawing.Size(38, 30); + this.Button9.TabIndex = 66; + this.Button9.Text = "2"; + this.Button9.UseVisualStyleBackColor = true; + // + // MenuStrip2 + // + this.MenuStrip2.BackColor = System.Drawing.Color.Silver; + this.MenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.EditToolStripMenuItem1, + this.HelpToolStripMenuItem2, + this.HelpToolStripMenuItem3}); + this.MenuStrip2.Location = new System.Drawing.Point(0, 0); + this.MenuStrip2.Name = "MenuStrip2"; + this.MenuStrip2.Size = new System.Drawing.Size(308, 24); + this.MenuStrip2.TabIndex = 86; + this.MenuStrip2.Text = "MenuStrip2"; + // + // WinClassicCalculator + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.txtNumbers); + this.Controls.Add(this.Button27); + this.Controls.Add(this.Button26); + this.Controls.Add(this.Button1); + this.Controls.Add(this.Button25); + this.Controls.Add(this.Button2); + this.Controls.Add(this.Button21); + this.Controls.Add(this.Button3); + this.Controls.Add(this.Button22); + this.Controls.Add(this.Button4); + this.Controls.Add(this.Button23); + this.Controls.Add(this.Button11); + this.Controls.Add(this.Button7); + this.Controls.Add(this.Button16); + this.Controls.Add(this.Button24); + this.Controls.Add(this.Button12); + this.Controls.Add(this.Button6); + this.Controls.Add(this.Button15); + this.Controls.Add(this.Button17); + this.Controls.Add(this.Button13); + this.Controls.Add(this.Button5); + this.Controls.Add(this.Button14); + this.Controls.Add(this.Button18); + this.Controls.Add(this.Button8); + this.Controls.Add(this.Button10); + this.Controls.Add(this.Button20); + this.Controls.Add(this.Button19); + this.Controls.Add(this.Button9); + this.Controls.Add(this.MenuStrip2); + this.Name = "WinClassicCalculator"; + this.Size = new System.Drawing.Size(308, 276); + this.MenuStrip2.ResumeLayout(false); + this.MenuStrip2.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Timer timer1; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem3; + internal System.Windows.Forms.ToolStripMenuItem AboutCalculatorToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem StandardToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ScientificToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem2; + internal System.Windows.Forms.ToolStripMenuItem PasteCtrlVToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem CopyCtrlCToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem EditToolStripMenuItem1; + internal System.Windows.Forms.TextBox txtNumbers; + internal System.Windows.Forms.Button Button27; + internal System.Windows.Forms.Button Button26; + internal System.Windows.Forms.Button Button1; + internal System.Windows.Forms.Button Button25; + internal System.Windows.Forms.Button Button2; + internal System.Windows.Forms.Button Button21; + internal System.Windows.Forms.Button Button3; + internal System.Windows.Forms.Button Button22; + internal System.Windows.Forms.Button Button4; + internal System.Windows.Forms.Button Button23; + internal System.Windows.Forms.Button Button11; + internal System.Windows.Forms.Button Button7; + internal System.Windows.Forms.Button Button16; + internal System.Windows.Forms.Button Button24; + internal System.Windows.Forms.Button Button12; + internal System.Windows.Forms.Button Button6; + internal System.Windows.Forms.Button Button15; + internal System.Windows.Forms.Button Button17; + internal System.Windows.Forms.Button Button13; + internal System.Windows.Forms.Button Button5; + internal System.Windows.Forms.Button Button14; + internal System.Windows.Forms.Button Button18; + internal System.Windows.Forms.Button Button8; + internal System.Windows.Forms.Button Button10; + internal System.Windows.Forms.Button Button20; + internal System.Windows.Forms.Button Button19; + internal System.Windows.Forms.Button Button9; + internal System.Windows.Forms.MenuStrip MenuStrip2; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs new file mode 100644 index 0000000..f4105c0 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs @@ -0,0 +1,265 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using TimeHACK.Engine; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicCalculator : UserControl + { + public WinClassicCalculator() + { + InitializeComponent(); + } + public double prevnum = 0; + public bool iszero = true; + public bool neg = false; + public bool isdecimal = false; + public string coperator; + public void appendnum(string num) + { + if (iszero == true) + { + txtNumbers.Clear(); + txtNumbers.Text += (num); + iszero = false; + } + else + { + if (iszero == false) + { + txtNumbers.Text += (num); + } + } + + } + private void Button6_Click(object sender, EventArgs e) + { + appendnum("1"); + } + + private void Button9_Click(object sender, EventArgs e) + { + appendnum("2"); + } + + private void Button21_Click(object sender, EventArgs e) + { + Calculate(); + } + + private void Button12_Click(object sender, EventArgs e) + { + appendnum("3"); + } + + private void Button7_Click(object sender, EventArgs e) + { + appendnum("4"); + } + + private void Button10_Click(object sender, EventArgs e) + { + appendnum("5"); + } + + private void Button13_Click(object sender, EventArgs e) + { + appendnum("6"); + } + + private void Button5_Click(object sender, EventArgs e) + { + appendnum("7"); + } + + private void Button8_Click(object sender, EventArgs e) + { + appendnum("8"); + } + + private void Button11_Click(object sender, EventArgs e) + { + appendnum("9"); + } + + private void Button16_Click(object sender, EventArgs e) + { + + if (iszero == false) + { + txtNumbers.Text += (0); + } + } + + private void Button25_Click(object sender, EventArgs e) + { + if (txtNumbers.Text != "0") + { + txtNumbers.Text = txtNumbers.Text.Remove(txtNumbers.Text.Length - 1); + } + if (txtNumbers.TextLength < 1) + { + txtNumbers.Text = "0"; + } + + } + + private void Button15_Click(object sender, EventArgs e) + { + if (neg == false) + { + txtNumbers.Text = "-" + txtNumbers.Text; + neg = true; + } + else + { + txtNumbers.Text = txtNumbers.Text.Replace("-", ""); + neg = false; + } + } + + private void Button14_Click(object sender, EventArgs e) + { + + if (isdecimal == false) + { + appendnum("."); + isdecimal = true; + } + } + + private void timer1_Tick(object sender, EventArgs e) + { + if (txtNumbers.Text.Contains(".") == false) + { + isdecimal = false; + } + if (txtNumbers.Text == "0") + { + iszero = true; + } + } + + private void WinClassicCalculator_Load(object sender, EventArgs e) + { + timer1.Start(); + } + + private void AboutCalculatorToolStripMenuItem_Click(object sender, EventArgs e) + { + + WindowManager wm = new WindowManager(); + wm.StartAboutBox95("Calculator", null, Properties.Resources.WinClassicCalc); + } + + private void Button26_Click(object sender, EventArgs e) + { + prevnum = 0; + txtNumbers.Text = "0"; + isdecimal = false; + iszero = true; + neg = false; + } + + private void Button27_Click(object sender, EventArgs e) + { + txtNumbers.Text = "0"; + isdecimal = false; + iszero = true; + neg = false; + } + public void Calculate() + { + switch (coperator) + { + case "+": + txtNumbers.Text = (prevnum + double.Parse(txtNumbers.Text)).ToString(); + prevnum = double.Parse(txtNumbers.Text); + break; + case "-": + if (prevnum == 0) + { + break; + } + txtNumbers.Text = (prevnum - double.Parse(txtNumbers.Text)).ToString(); + prevnum = double.Parse(txtNumbers.Text); + break; + case "*": + if (prevnum == 0) + { + break; + } + txtNumbers.Text = (prevnum * double.Parse(txtNumbers.Text)).ToString(); + prevnum = double.Parse(txtNumbers.Text); + break; + case "/": + if (prevnum == 0) + { + break; + } + txtNumbers.Text = (prevnum / double.Parse(txtNumbers.Text)).ToString(); + prevnum = double.Parse(txtNumbers.Text); + break; + } + } + + private void Button22_Click(object sender, EventArgs e) + { + double sq = double.Parse(txtNumbers.Text); + txtNumbers.Text = Math.Sqrt(sq).ToString(); + } + + private void Button17_Click(object sender, EventArgs e) + { + coperator = "+"; + Calculate(); + prevnum = double.Parse(txtNumbers.Text); + txtNumbers.Text = "0"; + } + + private void Button19_Click(object sender, EventArgs e) + { + coperator = "-"; + Calculate(); + prevnum = double.Parse(txtNumbers.Text); + txtNumbers.Text = "0"; + } + + private void Button20_Click(object sender, EventArgs e) + { + coperator = "*"; + Calculate(); + prevnum = double.Parse(txtNumbers.Text); + txtNumbers.Text = "0"; + } + + private void Button18_Click(object sender, EventArgs e) + { + coperator = "/"; + Calculate(); + prevnum = double.Parse(txtNumbers.Text); + txtNumbers.Text = "0"; + } + + private void Button23_Click(object sender, EventArgs e) + { + double a; + a = Convert.ToDouble(1.0 / Convert.ToDouble(txtNumbers.Text)); + txtNumbers.Text = Convert.ToString(a); + } + + private void Button24_Click(object sender, EventArgs e) + { + double a; + a = Convert.ToDouble(txtNumbers.Text) / Convert.ToDouble(100); + txtNumbers.Text = Convert.ToString(a); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx new file mode 100644 index 0000000..d7509b3 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 219, 17 + + + 306, 17 + + \ No newline at end of file diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 8d2f76d..229b453 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -158,6 +158,12 @@ Win95Installer.cs + + UserControl + + + WinClassicCalculator.cs + UserControl @@ -327,6 +333,9 @@ Win95Installer.cs + + WinClassicCalculator.cs + WinClassicFTPClient.cs -- cgit v1.2.3 From e75e11bcc81e61ccdef78279aa8d39d91c860f8c Mon Sep 17 00:00:00 2001 From: JayXKanz666 Date: Wed, 12 Jul 2017 23:01:19 +0200 Subject: Added some stuff -Added another story-script (Hack2.cs) -Fixed an issue where the MS-DOS prompt would freeze when displaying text -Added Action Delegate (method/function) as an argument for Time Distorter (optional) --- TimeHACK.Main/OS/Win95/Win95.cs | 5 +- TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs | 55 +++++------ TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs | 102 +++++++++++++++++++++ TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs | 2 +- .../OS/Win95/Win95Apps/WinClassicTimeDistorter.cs | 11 ++- TimeHACK.Main/OS/Win98/Win98.cs | 2 +- TimeHACK.Main/TimeHACK.Main.csproj | 1 + 7 files changed, 135 insertions(+), 43 deletions(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 7efe5e9..6cae472 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -383,7 +383,7 @@ namespace TimeHACK.OS.Win95 private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e) { - Hack1.startObjective(); + Hack1.StartObjective(); } private void temp_for_std(object sender, EventArgs e) @@ -429,8 +429,7 @@ namespace TimeHACK.OS.Win95 private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("2017", "20XX", 10), "Time Distorter", null, false, true); - + WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("1998", "1999", 160, Hack2.StartObjective), "Time Distorter", null, false, true); AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); app.BringToFront(); startmenu.Hide(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs index 85b14f5..293d4bb 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs @@ -21,25 +21,15 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story static bool devMode = true; // This is the very first story script! - public static void startObjective() + public static void StartObjective() { System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer(); - - WinClassicTerminal Console = new WinClassicTerminal(true); - WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); - - Console.WriteLine("telnet> 104.27.135.159 Connecting..."); - tmr.Interval = 1; tmr.Tick += new EventHandler(CheckIfSoundFinished); if (devMode == true) { - Thread contObjective = new Thread(continueObjective); - - app.Close(); - - contObjective.Start(); + ContinueObjective(); } else { @@ -48,40 +38,39 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story } } - public static void continueObjective() + public static async void ContinueObjective() { WinClassicTerminal Console = new WinClassicTerminal(true); - wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); - - Application.DoEvents(); + WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); + Console.WriteLine("telnet> 104.27.135.159 Connecting..."); + await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 Connected."); - Thread.Sleep(2500); + await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); - Thread.Sleep(2500); + await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> I see you have access to 12padams.com."); - Thread.Sleep(4500); + await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> Though it doesn't seem obvious, only a very limited amount of people can access the site."); - Thread.Sleep(6000); + await Task.Delay(6000); Console.WriteLine("TheHiddenHacker> 12padams has a secret, and I need you to help me find it."); - Thread.Sleep(3500); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> I was snooping around his website, when he blacklisted my IP address."); - Thread.Sleep(4000); - Console.WriteLine("TheHiddenHacker> While I was serching, I noticed a file that I didn't have permission to download. I need you to get it for me."); - Thread.Sleep(6500); - Console.WriteLine("TheHiddenHacker> First, I'll need you to download an FTP client, avalible under the software section of 12padams' website."); - Thread.Sleep(5000); + await Task.Delay(4000); + Console.WriteLine("TheHiddenHacker> While I was searching, I noticed a file that I didn't have permission to download. I need you to get it for me."); + await Task.Delay(6500); + Console.WriteLine("TheHiddenHacker> First, I'll need you to download an FTP client, available under the software section of 12padams' website."); + await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> Once that's downloaded, You'll need to type in a Hostname, Username, and Password."); - Thread.Sleep(4500); + await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> The hostname is 172.68.119.42, and the username is most likely 12padams. I'm not too sure what the password is, however."); - Thread.Sleep(3500); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> You'll need to figure out where you can get the password. Try looking for any odd text on the website."); - Thread.Sleep(3500); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> I don't have much time to talk - I'd quickly copy down those details into Notepad before this Terminal gets closed."); - Application.DoEvents(); - - Thread.Sleep(36000); + await Task.Delay(36000); + app.Close(); } public static void CheckIfSoundFinished(Object sender, EventArgs e) @@ -91,7 +80,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story // Continue from where we were System.Windows.Forms.Timer trm = sender as System.Windows.Forms.Timer; - continueObjective(); + ContinueObjective(); trm.Stop(); } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs new file mode 100644 index 0000000..470a240 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs @@ -0,0 +1,102 @@ +using System; +using System.Threading.Tasks; +using TimeHACK.Engine; +using TimeHACK.Engine.Template; + +namespace TimeHACK.OS.Win95.Win95Apps.Story +{ + public class Hack2 : Object + { + static WindowManager wm = new WindowManager(); + + public static async void StartObjective() + { + WinClassicTerminal Console = new WinClassicTerminal(true); + WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); + + Console.WriteLine("telnet> 185.152.46.51 Connecting..."); + await Task.Delay(2500); + Console.WriteLine("telnet> 185.152.46.51 Connected."); + await Task.Delay(2500); + Console.WriteLine("telnet> 185.152.46.51 set hostname to '12padams'."); + await Task.Delay(2000); + Console.WriteLine("12padams> WHAT DO YOU THINK YOU'RE DOING??"); + await Task.Delay(3000); + Console.WriteLine("12padams> First you hack my FTP server and download hwcv.exe.."); + await Task.Delay(4500); + Console.WriteLine("12padams> And use it to hack my website.."); + await Task.Delay(3500); + Console.WriteLine("12padams> Oh, and I know you pressed it."); + await Task.Delay(4000); + Console.WriteLine("12padams> I can see your screen right now.."); + await Task.Delay(3500); + Console.WriteLine("12padams> And to prove that I can see it, look at your timer. It says 130 seconds left."); + await Task.Delay(4000); + Console.WriteLine("12padams> Now, in 2 minutes you think you're going to be able to travel to 1999."); + await Task.Delay(3250); + Console.WriteLine("12padams> Well, I am sorry but I just can't let you do that."); + await Task.Delay(5000); + Console.WriteLine("12padams> You see, I have LOTS of power over your computer."); + await Task.Delay(3400); + Console.WriteLine("12padams> Okay, let me show you how easy this is."); + await Task.Delay(1500); + Console.WriteLine("Command> Hide Start Button"); + await Task.Delay(3500); + Console.WriteLine("12padams> See how easy that was?"); + await Task.Delay(3700); + Console.WriteLine("12padams> Now watch this.."); + await Task.Delay(3500); + Console.WriteLine("12padams> Hahaha, having a few errors are we?"); + await Task.Delay(2500); + Console.WriteLine("telnet> 104.27.135.159 Connecting..."); + await Task.Delay(2500); + Console.WriteLine("telnet> 104.27.135.159 Connected."); + await Task.Delay(2500); + Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); + await Task.Delay(3000); + Console.WriteLine("The Hidden Hacker> Great, you found the software."); + await Task.Delay(3700); + Console.WriteLine("12padams> How dare you.."); + await Task.Delay(3500); + Console.WriteLine($"The Hidden Hacker> Don't worry {SaveSystem.ProfileName}."); + await Task.Delay(4500); + Console.WriteLine("The Hidden Hacker> I have to say, good job for getting the software."); + await Task.Delay(3900); + Console.WriteLine("12padams> The Hidden Hacker.. I thought my first punishment was enough to get you away."); + await Task.Delay(4500); + Console.WriteLine("The Hidden Hacker> Well, now that I have uncovered your secret, I'm not just gonna go away."); + await Task.Delay(3600); + Console.WriteLine("12padams> If you don't go, I'll make you go!"); + await Task.Delay(3700); + Console.WriteLine($"The Hidden Hacker> Hey {SaveSystem.ProfileName}, don't worry about 12padams. You're about to get away from all this."); + await Task.Delay(3500); + Console.WriteLine("The Hidden Hacker> Let me fix this.."); + await Task.Delay(2500); + Console.WriteLine("Command> Show Start Button"); + await Task.Delay(2900); + Console.WriteLine("12padams> OKAY, NOW YOU'VE DONE IT!"); + await Task.Delay(2500); + Console.WriteLine("Command> Stop Timer"); + await Task.Delay(3000); + Console.WriteLine("12padams> I bet you didn't see that one coming.."); + await Task.Delay(3700); + Console.WriteLine("The Hidden Hacker> Oh but I did.."); + await Task.Delay(5000); + Console.WriteLine("The Hidden Hacker> I converted the stop function to the hide function when I logged on.."); + await Task.Delay(4200); + Console.WriteLine("12padams> NO! That's impossible!"); + await Task.Delay(3000); + Console.WriteLine("The Hidden Hacker> Oh, is it? Well, watch this!"); + await Task.Delay(2500); + Console.WriteLine("Command> Show Timer"); + await Task.Delay(3000); + Console.WriteLine("The Hidden Hacker> And here's one more command for you to learn."); + await Task.Delay(1700); + Console.WriteLine("Command> Disconnect 12padams"); + await Task.Delay(2000); + Console.WriteLine("telnet> 12padams Disconnected."); + await Task.Delay(3000); + Console.WriteLine($"The Hidden Hacker> Good luck {SaveSystem.ProfileName}! I'll see you in the future!"); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs index 81b8504..a9753b6 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs @@ -114,7 +114,7 @@ namespace TimeHACK.OS.Win95.Win95Apps break; case "www.12padams.com": hidePrograms(); - Story.Hack1.startObjective(); + Story.Hack1.StartObjective(); webBrowser1.DocumentText = resources.GetString("padams_HTML"); break; case "www.microsoft.com/internetexplorer4/welcome": diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs index b0542ba..57fa683 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs @@ -1,4 +1,5 @@ using System; +using System.Threading.Tasks; using System.Windows.Forms; using TimeHACK.Engine; using TimeHACK.Engine.Template; @@ -8,9 +9,9 @@ namespace TimeHACK.OS.Win95 public partial class WinClassicTimeDistorter : UserControl { private int _counter; - private Form _action; + private Action _action; - public WinClassicTimeDistorter(string currentYear, string yearToTravel, int counter, Form action = null) + public WinClassicTimeDistorter(string currentYear, string yearToTravel, int counter, Action action = null) { InitializeComponent(); @@ -25,6 +26,8 @@ namespace TimeHACK.OS.Win95 { lblCountDown.Visible = true; btnGo.Enabled = false; + + _action?.Invoke(); countDownTimer.Start(); lblCountDown.Text = $"Preparing to travel... ETA: {_counter.ToString()} seconds"; @@ -37,10 +40,8 @@ namespace TimeHACK.OS.Win95 if (_counter == 0) { countDownTimer.Stop(); - - if (_action != null) - _action.ShowDialog(); } + lblCountDown.Text = $"Preparing to travel... ETA: {_counter.ToString()} seconds"; } } diff --git a/TimeHACK.Main/OS/Win98/Win98.cs b/TimeHACK.Main/OS/Win98/Win98.cs index fa3fbfa..a249ba3 100644 --- a/TimeHACK.Main/OS/Win98/Win98.cs +++ b/TimeHACK.Main/OS/Win98/Win98.cs @@ -356,7 +356,7 @@ namespace TimeHACK.OS.Win98 private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e) { - Hack1.startObjective(); + Hack1.StartObjective(); } private void temp_for_std(object sender, EventArgs e) diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 229b453..f31f9f7 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -146,6 +146,7 @@ GooglePrototype.cs + UserControl -- cgit v1.2.3 From a52cfa8adcf24e9698adfbc243cd7e6a45793c1b Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 12 Jul 2017 17:23:10 -0500 Subject: Added TempIE4's start page --- .../Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs | 92 +++++++++++++++++++++ .../OS/Win95/Win95Apps/IE4Sites/IE4Start.cs | 25 ++++++ .../OS/Win95/Win95Apps/TempIE4.Designer.cs | 22 ++--- TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs | 8 +- .../OS/Win95/Win95Apps/WinClassicIE4.Designer.cs | 4 +- TimeHACK.Main/Properties/Resources.Designer.cs | 30 +++++++ TimeHACK.Main/Properties/Resources.resx | 11 ++- TimeHACK.Main/Resources/IE4/start.png | Bin 0 -> 28819 bytes TimeHACK.Main/Resources/IE4/start_googlink.png | Bin 0 -> 343 bytes TimeHACK.Main/Resources/IE4/start_padamslink.png | Bin 0 -> 405 bytes TimeHACK.Main/TimeHACK.Main.csproj | 12 +++ 11 files changed, 189 insertions(+), 15 deletions(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs create mode 100644 TimeHACK.Main/Resources/IE4/start.png create mode 100644 TimeHACK.Main/Resources/IE4/start_googlink.png create mode 100644 TimeHACK.Main/Resources/IE4/start_padamslink.png (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs new file mode 100644 index 0000000..2ffa277 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs @@ -0,0 +1,92 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class IE4Start + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Image = global::TimeHACK.Properties.Resources.start; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(640, 480); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // linkLabel1 + // + this.linkLabel1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.linkLabel1.Image = global::TimeHACK.Properties.Resources.start_googlink; + this.linkLabel1.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(65)))), ((int)(((byte)(145))))); + this.linkLabel1.Location = new System.Drawing.Point(10, 269); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(95, 14); + this.linkLabel1.TabIndex = 1; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = " "; + this.linkLabel1.Click += new System.EventHandler(this.linkLabel1_Click); + // + // linkLabel2 + // + this.linkLabel2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.linkLabel2.Image = global::TimeHACK.Properties.Resources.start_padamslink; + this.linkLabel2.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(65)))), ((int)(((byte)(145))))); + this.linkLabel2.Location = new System.Drawing.Point(10, 283); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(116, 14); + this.linkLabel2.TabIndex = 2; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = " "; + // + // IE4Start + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.pictureBox1); + this.Name = "IE4Start"; + this.Size = new System.Drawing.Size(959, 483); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs new file mode 100644 index 0000000..ee21b0f --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class IE4Start : UserControl + { + public IE4Start() + { + InitializeComponent(); + } + + private void linkLabel1_Click(object sender, EventArgs e) + { + TempIE4.GoToPage("www.google.com"); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs index 93fdd53..30c1dfb 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs @@ -30,7 +30,7 @@ { this.Panel14 = new System.Windows.Forms.Panel(); this.GoButton = new System.Windows.Forms.Button(); - this.addressbar = new System.Windows.Forms.ComboBox(); + this._addressbar = new System.Windows.Forms.ComboBox(); this.Label1 = new System.Windows.Forms.Label(); this.Button30 = new System.Windows.Forms.Button(); this.Button29 = new System.Windows.Forms.Button(); @@ -150,7 +150,7 @@ // this.Panel14.BackColor = System.Drawing.Color.Silver; this.Panel14.Controls.Add(this.GoButton); - this.Panel14.Controls.Add(this.addressbar); + this.Panel14.Controls.Add(this._addressbar); this.Panel14.Controls.Add(this.Label1); this.Panel14.Dock = System.Windows.Forms.DockStyle.Top; this.Panel14.Location = new System.Drawing.Point(0, 73); @@ -171,16 +171,16 @@ this.GoButton.UseVisualStyleBackColor = true; this.GoButton.Click += new System.EventHandler(this.GoButton_Click); // - // addressbar + // _addressbar // - this.addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this._addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.addressbar.FormattingEnabled = true; - this.addressbar.Location = new System.Drawing.Point(58, 9); - this.addressbar.Name = "addressbar"; - this.addressbar.Size = new System.Drawing.Size(812, 21); - this.addressbar.TabIndex = 1; - this.addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; + this._addressbar.FormattingEnabled = true; + this._addressbar.Location = new System.Drawing.Point(58, 9); + this._addressbar.Name = "_addressbar"; + this._addressbar.Size = new System.Drawing.Size(812, 21); + this._addressbar.TabIndex = 1; + this._addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; // // Label1 // @@ -1176,7 +1176,7 @@ internal System.Windows.Forms.Panel Panel14; internal System.Windows.Forms.Button GoButton; - internal System.Windows.Forms.ComboBox addressbar; + internal System.Windows.Forms.ComboBox _addressbar; internal System.Windows.Forms.Label Label1; internal System.Windows.Forms.Button Button30; internal System.Windows.Forms.Button Button29; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs index 8f5de0f..637201d 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs @@ -14,11 +14,13 @@ namespace TimeHACK.OS.Win95.Win95Apps public partial class TempIE4 : UserControl { public static Panel browsingArea = new Panel(); + public static ComboBox addressbar = new ComboBox(); public TempIE4() { InitializeComponent(); browsingArea = _browsingArea; + addressbar = _addressbar; } public static void GoToPage(string url) @@ -27,6 +29,9 @@ namespace TimeHACK.OS.Win95.Win95Apps switch (url) { + case "www.microsoft.com/windows/ie/default.htm": + uc = new IE4Start(); + break; case "www.google.com": uc = new GoogleHome(); break; @@ -35,6 +40,7 @@ namespace TimeHACK.OS.Win95.Win95Apps break; } + addressbar.Text = url; uc.Dock = DockStyle.Fill; browsingArea.Controls.Clear(); browsingArea.Controls.Add(uc); @@ -42,7 +48,7 @@ namespace TimeHACK.OS.Win95.Win95Apps private void TempIE4_Load(object sender, EventArgs e) { - GoToPage("www.google.com"); + GoToPage("www.microsoft.com/windows/ie/default.htm"); } private void GoButton_Click(object sender, EventArgs e) diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs index d2cea2e..3184160 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs @@ -1979,13 +1979,13 @@ this.GoButton.UseVisualStyleBackColor = true; this.GoButton.Click += new System.EventHandler(GoButton_Click); // - // addressbar + // _addressbar // this.addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.addressbar.FormattingEnabled = true; this.addressbar.Location = new System.Drawing.Point(58, 9); - this.addressbar.Name = "addressbar"; + this.addressbar.Name = "_addressbar"; this.addressbar.Size = new System.Drawing.Size(812, 21); this.addressbar.TabIndex = 1; this.addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index 95327fa..803ec4e 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -274,6 +274,36 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap start { + get { + object obj = ResourceManager.GetObject("start", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap start_googlink { + get { + object obj = ResourceManager.GetObject("start_googlink", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap start_padamslink { + get { + object obj = ResourceManager.GetObject("start_padamslink", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. /// diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index 09baced..bf5c1c6 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -522,7 +522,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wQAADsEBuJFr7QAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ + wAAADsABataJCQAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu QmCC @@ -594,4 +594,13 @@ ..\Resources\WinClassic\WinClassicInstallPic.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\IE4\start.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\IE4\start_googlink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\IE4\start_padamslink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/start.png b/TimeHACK.Main/Resources/IE4/start.png new file mode 100644 index 0000000..225659c Binary files /dev/null and b/TimeHACK.Main/Resources/IE4/start.png differ diff --git a/TimeHACK.Main/Resources/IE4/start_googlink.png b/TimeHACK.Main/Resources/IE4/start_googlink.png new file mode 100644 index 0000000..c5fbdf5 Binary files /dev/null and b/TimeHACK.Main/Resources/IE4/start_googlink.png differ diff --git a/TimeHACK.Main/Resources/IE4/start_padamslink.png b/TimeHACK.Main/Resources/IE4/start_padamslink.png new file mode 100644 index 0000000..d28a61f Binary files /dev/null and b/TimeHACK.Main/Resources/IE4/start_padamslink.png differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index f31f9f7..dca45e5 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -145,6 +145,12 @@ GooglePrototype.cs + + UserControl + + + IE4Start.cs + @@ -328,6 +334,9 @@ GooglePrototype.cs + + IE4Start.cs + TempIE4.cs @@ -457,6 +466,9 @@ + + + -- cgit v1.2.3 From 264deb3774935da3faba95fef55a94227e3f2368 Mon Sep 17 00:00:00 2001 From: JayXKanz666 Date: Thu, 13 Jul 2017 16:46:24 +0200 Subject: Fixed type names -`String` replaced with `string` -`Boolean` replaced with `bool` --- TimeHACK.Engine/FileDialogBoxManager.cs | 12 +-- TimeHACK.Engine/Template/WinClassic.cs | 2 +- TimeHACK.Engine/WindowManager.cs | 6 +- TimeHACK.Main/OS/Win95/Win95.Designer.cs | 1 + TimeHACK.Main/OS/Win95/Win95.cs | 2 +- TimeHACK.Main/OS/Win95/Win95.resx | 86 +++++++-------- .../FRMWinClassicAddressBookNewContact.cs | 2 +- .../Win95Apps/AddressBook/WinClassicAddressBook.cs | 4 +- .../OS/Win95/Win95Apps/IE4Sites/IE4Start.resx | 120 +++++++++++++++++++++ .../OS/Win95/Win95Apps/WinClassicTerminal.cs | 2 +- .../Win95/Win95Apps/WinClassicWindowsExplorer.cs | 24 ++--- .../OS/Win95/Win95Apps/WinClassicWordPad.cs | 4 +- TimeHACK.Main/OS/Win98/Win98.cs | 2 +- TimeHACK.Main/Program.cs | 4 +- TimeHACK.Main/Properties/Resources.resx | 6 +- TimeHACK.Main/Resources/msdosprompt.png | Bin 0 -> 41974 bytes TimeHACK.Main/SaveDialogs/LoadGameDialog.cs | 2 +- TimeHACK.Main/SaveDialogs/LoadGameProfileItem.cs | 6 +- TimeHACK.Main/SaveDialogs/NewGameDialog.cs | 2 +- .../SaveDialogs/SaveFileTroubleShooter.cs | 6 +- TimeHACK.Main/TimeHACK.Main.csproj | 1 + TimeHACK.Main/TitleScreen.cs | 2 +- 22 files changed, 209 insertions(+), 87 deletions(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx create mode 100644 TimeHACK.Main/Resources/msdosprompt.png (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Engine/FileDialogBoxManager.cs b/TimeHACK.Engine/FileDialogBoxManager.cs index 334ebdd..f6d30ae 100644 --- a/TimeHACK.Engine/FileDialogBoxManager.cs +++ b/TimeHACK.Engine/FileDialogBoxManager.cs @@ -10,24 +10,24 @@ namespace TimeHACK.Engine { public static class FileDialogBoxManager { - public static Boolean IsInOpenDialog = false; - public static Boolean IsInSaveDialog = false; - public static String OnlyViewExtension = ""; - public static void ActivateOpenFileDialog(String ExtensionToView) + public static bool IsInOpenDialog = false; + public static bool IsInSaveDialog = false; + public static string OnlyViewExtension = ""; + public static void ActivateOpenFileDialog(string ExtensionToView) { IsInOpenDialog = true; IsInSaveDialog = false; OnlyViewExtension = ExtensionToView; } - public static void ActivateSaveFileDialog(String ExtensionToView) + public static void ActivateSaveFileDialog(string ExtensionToView) { IsInOpenDialog = false; IsInSaveDialog = true; OnlyViewExtension = ExtensionToView; } - public static String ReadTextFile(String path) + public static string ReadTextFile(string path) { try { diff --git a/TimeHACK.Engine/Template/WinClassic.cs b/TimeHACK.Engine/Template/WinClassic.cs index f5737aa..554d6be 100644 --- a/TimeHACK.Engine/Template/WinClassic.cs +++ b/TimeHACK.Engine/Template/WinClassic.cs @@ -39,7 +39,7 @@ namespace TimeHACK.Engine.Template if (!closeDisabled) this.Close(); } - public Boolean max = false; + public bool max = false; private void maximizebutton_Click(object sender, EventArgs e) { diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index 9e96673..156da2f 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -10,7 +10,7 @@ namespace TimeHACK.Engine { public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection(); - public WinClassic StartWin95(UserControl content, String title, Image icon, Boolean MaxButton, Boolean MinButton, Boolean ShowApplicationAsDialog = false) + public WinClassic StartWin95(UserControl content, string title, Image icon, bool MaxButton, bool MinButton, bool ShowApplicationAsDialog = false) { // Setup Window WinClassic app = new WinClassic(); @@ -72,7 +72,7 @@ namespace TimeHACK.Engine return app; } - public WinClassic StartInfobox95(String title, String text, Image erroricon) + public WinClassic StartInfobox95(string title, string text, Image erroricon) { Infobox95 app = new Infobox95(); app.infoText.Text = text; @@ -82,7 +82,7 @@ namespace TimeHACK.Engine return StartWin95(app, title, null, false, false); } - public WinClassic StartAboutBox95(String shortname, String longname, Image appicon) + public WinClassic StartAboutBox95(string shortname, string longname, Image appicon) { AboutBox95 uc = new AboutBox95(); uc.pictureBox1.Image = appicon; diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index 144b0c9..15f4feb 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -717,6 +717,7 @@ namespace TimeHACK.OS.Win95 this.WebChatToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.WebChatToolStripMenuItem.Text = "Web Chat"; this.WebChatToolStripMenuItem.Visible = false; + this.WebChatToolStripMenuItem.Click += new System.EventHandler(this.WebChatToolStripMenuItem_Click); // // TimeDistorterToolStripMenuItem // diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index a170f7f..d681c58 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -289,7 +289,7 @@ namespace TimeHACK.OS.Win95 private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info); + WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(string title, string text, Image erroricon)!", Properties.Resources.Win95Info); app.BringToFront(); startmenu.Hide(); diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index ec161c8..ba695aa 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -121,6 +121,48 @@ 17, 17 + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ + 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME + Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu + QmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALtJREFUOE91TwESBCEI6un9vBPRYqljhtEIyUZhzTkXKo8J1ZI4P3xjlAjsqpoN + upcBf0zA6+7r8QAxA9170IEPm6l7PWu9A1CLwNaVpSfWNEKLWCECDnkvAdFtMgBDLeHFaNaXEpQu22B9 + NsFA96i2yQlo00wejQG9VfuSCQ0IXAFAVAb468AVwJB3AHpsBFKn2uYkemh9hllezf4KcDKwtqkBpX5j + Dyj5DRIeDDh3wD3c5AYkh2QwOMYPtAJqglssjE8AAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAJVJREFUOE+VkIESgCAIQ/10/pwasJrlkb27nUZsoqPHPbWNlYHCN9gKMTc7O31I + gIa0PM2EE32ErE9WNQEw1y6azbZGvkFAhnBcKMmwrQnCVI0MofA+a6UniIDYqKTx7JhBDeVaQd5fVT9m + M4JvowbwzjNlu4C5DVBgVyll4Zo8AzrK0gfo6ZBSFq7J6g0+ePWj8EPDD0i7RXV30HOWAAAAAElFTkSu + QmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAJJJREFUOE+tkYEOgCAIRP10/tzk4FISZ7ZuuzDwnq4KJSL1aR/txc21llBfQVbh + EZJZZ5C+nEoEcIN0QDyxLVGzm6WAsMYTvRSSAqaw2jRBloApbJUBhLVub4ABqwMY1poCuEYzhPWjRkgK + 6EP7A+obqOc2EzIBeELmtqNFDECI9R3gYmPhCPH+qX6HfAJAQ7iUCwlxft5LSoDNAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N @@ -264,41 +306,6 @@ DsAgCAN9Ok/zZ4yiEINsMkkKRNezWWNmlZSM84wabVwyEX3ODNLCZXWiyUrsgEr13h2gZlmvAGZGKQAX VRlAzfcJIAB+/gMiM5smIMbMBLO8uUMqCcxsOzww4/AIiGZ7eR4OQBYZ2uIGswOyWj72ArQMyOoVsMY+ aQNok1HVambm9gBAYeI/oBSQZwAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ - 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME - Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu - QmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAALtJREFUOE91TwESBCEI6un9vBPRYqljhtEIyUZhzTkXKo8J1ZI4P3xjlAjsqpoN - upcBf0zA6+7r8QAxA9170IEPm6l7PWu9A1CLwNaVpSfWNEKLWCECDnkvAdFtMgBDLeHFaNaXEpQu22B9 - NsFA96i2yQlo00wejQG9VfuSCQ0IXAFAVAb468AVwJB3AHpsBFKn2uYkemh9hllezf4KcDKwtqkBpX5j - Dyj5DRIeDDh3wD3c5AYkh2QwOMYPtAJqglssjE8AAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAJVJREFUOE+VkIESgCAIQ/10/pwasJrlkb27nUZsoqPHPbWNlYHCN9gKMTc7O31I - gIa0PM2EE32ErE9WNQEw1y6azbZGvkFAhnBcKMmwrQnCVI0MofA+a6UniIDYqKTx7JhBDeVaQd5fVT9m - M4JvowbwzjNlu4C5DVBgVyll4Zo8AzrK0gfo6ZBSFq7J6g0+ePWj8EPDD0i7RXV30HOWAAAAAElFTkSu - QmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAJJJREFUOE+tkYEOgCAIRP10/tzk4FISZ7ZuuzDwnq4KJSL1aR/txc21llBfQVbh - EZJZZ5C+nEoEcIN0QDyxLVGzm6WAsMYTvRSSAqaw2jRBloApbJUBhLVub4ABqwMY1poCuEYzhPWjRkgK - 6EP7A+obqOc2EzIBeELmtqNFDECI9R3gYmPhCPH+qX6HfAJAQ7iUCwlxft5LSoDNAAAAAElFTkSuQmCC @@ -334,13 +341,6 @@ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw 4AAABIQCQUtXaBsAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw - 4AAABIQCQUtXaBsAAAAASUVORK5CYII= @@ -382,7 +382,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq - ggAAAk1TRnQBSQFMAgEBDAEAAZgBAQGYAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA + ggAAAk1TRnQBSQFMAgEBDAEAAbABAQGwAQEBIAEAASABAAT/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/ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs index fe75e83..482d54c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs @@ -57,7 +57,7 @@ namespace TimeHACK.OS.Win95.Win95Apps txtLast.Text = toSet.LastName; if (toSet.Emails != null) { - foreach (String email in toSet.Emails) + foreach (string email in toSet.Emails) { emails.Items.Add(email); } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs index 24404bf..95ee509 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs @@ -282,12 +282,12 @@ namespace TimeHACK.OS.Win95.Win95Apps public string FirstName; public string MiddleName; public string LastName; - public List Emails = new List(); + public List Emails = new List(); } public class AddressBookContactList { - public String AttachedNode; + public string AttachedNode; public List Contacts = new List(); } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs index 70cd0f9..a754ed0 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs @@ -71,7 +71,7 @@ namespace TimeHACK.OS.Win95.Win95Apps /// Write text to the Terminal. Very similar to the Win32 Console.Write Function. /// /// - public void Write(String Text) + public void Write(string Text) { cmdPrompt.AppendText(Text); cmdPrompt.Update(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs index e4f98ff..98dc4ff 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs @@ -45,9 +45,9 @@ namespace TimeHACK.OS.Win95.Win95Apps //' Next //'End Sub - String ReadDataFile(String reqDirectory, Boolean returnYesIfProtected = false) { - String Val = ""; - String directoryFileInfo; + string ReadDataFile(string reqDirectory, bool returnYesIfProtected = false) { + string Val = ""; + string directoryFileInfo; directoryFileInfo = File.ReadAllText(Path.Combine(reqDirectory, "_data.info")); FileSystemFolderInfo toRead = new FileSystemFolderInfo(); toRead = JsonConvert.DeserializeObject(directoryFileInfo); @@ -70,14 +70,14 @@ namespace TimeHACK.OS.Win95.Win95Apps try { // Refresh the right listview this.mainView.Items.Clear(); - // For Each drive As String In My.Computer.FileSystem.GetDirectories(GameMain.MyDocuments & "\HistacomVB\" & GameMain.SaveProfile & "\HistacomVB\Folders") + // For Each drive As string In My.Computer.FileSystem.GetDirectories(GameMain.MyDocuments & "\HistacomVB\" & GameMain.SaveProfile & "\HistacomVB\Folders") // If GetPropetiesForDir(drive)(4) = "isMyDocuments" Then // diskView.Items.Add("", 0) // End If //Next - foreach (String str in Directory.GetDirectories(currentDirectory)) + foreach (string str in Directory.GetDirectories(currentDirectory)) { - String label = ReadDataFile(str, false); + string label = ReadDataFile(str, false); if (label == "") { this.mainView.Items.Add(Path.GetFileName(str)); @@ -87,7 +87,7 @@ namespace TimeHACK.OS.Win95.Win95Apps this.mainView.FindItemWithText(label).Tag = Path.GetFileName(str); } } - foreach (String str in Directory.GetFiles(currentDirectory)) + foreach (string str in Directory.GetFiles(currentDirectory)) { // Get app Icon @@ -96,7 +96,7 @@ namespace TimeHACK.OS.Win95.Win95Apps switch (new FileInfo(str).Extension) { case ".exe": - String contents; + string contents; contents = File.ReadAllText(str); @@ -492,7 +492,7 @@ namespace TimeHACK.OS.Win95.Win95Apps { try { - if ((String)mainView.FocusedItem.Tag != "") { // If it isn't a file + if ((string)mainView.FocusedItem.Tag != "") { // If it isn't a file GoToDir(currentDirectory + "\\" + mainView.FocusedItem.Tag); } else { // If it is a file if (new FileInfo(Path.Combine(currentDirectory, txtSave.Text)).Extension == onlyViewExtension) @@ -547,10 +547,10 @@ namespace TimeHACK.OS.Win95.Win95Apps { try { - Boolean OpenFile = false; + bool OpenFile = false; if (mainView.FocusedItem != null) { - if ((String)mainView.FocusedItem.Tag != "") + if ((string)mainView.FocusedItem.Tag != "") { // If it isn't a file GoToDir(currentDirectory + "\\" + mainView.FocusedItem.Tag); } @@ -632,7 +632,7 @@ namespace TimeHACK.OS.Win95.Win95Apps private void mainView_AfterLabelEdit(object sender, LabelEditEventArgs e) { - String setText; + string setText; setText = mainView.FocusedItem.Text; if (setText == "") { diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs index bf0cb16..2453abc 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -155,7 +155,7 @@ namespace TimeHACK.OS.Win95.Win95Apps void SetSelectedTextFont(string font) { - // The next two lines convert a String to a Font + // The next two lines convert a string to a Font var cvt = new FontConverter(); Font f = cvt.ConvertFromString(font) as Font; @@ -164,7 +164,7 @@ namespace TimeHACK.OS.Win95.Win95Apps void SetSelectedTextSize(string size) { - // The next few lines will ATTEMPT to convert a String to an Integer + // 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); diff --git a/TimeHACK.Main/OS/Win98/Win98.cs b/TimeHACK.Main/OS/Win98/Win98.cs index a249ba3..d65a9ed 100644 --- a/TimeHACK.Main/OS/Win98/Win98.cs +++ b/TimeHACK.Main/OS/Win98/Win98.cs @@ -261,7 +261,7 @@ namespace TimeHACK.OS.Win98 private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info); + WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(string title, string text, Image erroricon)!", Properties.Resources.Win95Info); app.BringToFront(); startmenu.Hide(); diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index e2a4be6..3f8d10c 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -51,7 +51,7 @@ namespace TimeHACK //TimeHACK.Engine.GameSave.SaveData MySaveData = new TimeHACK.Engine.GameSave.SaveData() //{ // OS = 60, - // MyStringList = new List + // MystringList = new List // { // "Item1", // "Item2" @@ -69,7 +69,7 @@ namespace TimeHACK Application.Run(title); } - public static String OpenFileExplorerAsDialogAndReturnGivenPath() + public static string OpenFileExplorerAsDialogAndReturnGivenPath() { WinClassicWindowsExplorer we = new WinClassicWindowsExplorer(); diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index bf5c1c6..6cf824c 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -456,9 +456,6 @@ ..\resources\winclassic\winclassicstart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\MS-DOS-logo-1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\resources\winclassic\winclassictaskbaritem.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -603,4 +600,7 @@ ..\Resources\IE4\start_padamslink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\msdosprompt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/msdosprompt.png b/TimeHACK.Main/Resources/msdosprompt.png new file mode 100644 index 0000000..2f3fe85 Binary files /dev/null and b/TimeHACK.Main/Resources/msdosprompt.png differ diff --git a/TimeHACK.Main/SaveDialogs/LoadGameDialog.cs b/TimeHACK.Main/SaveDialogs/LoadGameDialog.cs index b31bc50..89e875e 100644 --- a/TimeHACK.Main/SaveDialogs/LoadGameDialog.cs +++ b/TimeHACK.Main/SaveDialogs/LoadGameDialog.cs @@ -14,7 +14,7 @@ namespace TimeHACK { public partial class LoadGameDialog : Form { - public Boolean successful = false; + public bool successful = false; public LoadGameDialog() { InitializeComponent(); diff --git a/TimeHACK.Main/SaveDialogs/LoadGameProfileItem.cs b/TimeHACK.Main/SaveDialogs/LoadGameProfileItem.cs index 5e1ccf4..10d1a25 100644 --- a/TimeHACK.Main/SaveDialogs/LoadGameProfileItem.cs +++ b/TimeHACK.Main/SaveDialogs/LoadGameProfileItem.cs @@ -14,9 +14,9 @@ namespace TimeHACK { public partial class LoadGameProfileItem : UserControl, IMessageFilter { - public Boolean OnceRemoveHeight = false; - public Boolean OnceAddHeight = false; - public Boolean RequestingNewName = false; + public bool OnceRemoveHeight = false; + public bool OnceAddHeight = false; + public bool RequestingNewName = false; public LoadGameProfileItem() { InitializeComponent(); diff --git a/TimeHACK.Main/SaveDialogs/NewGameDialog.cs b/TimeHACK.Main/SaveDialogs/NewGameDialog.cs index 0e6f346..e9af8cb 100644 --- a/TimeHACK.Main/SaveDialogs/NewGameDialog.cs +++ b/TimeHACK.Main/SaveDialogs/NewGameDialog.cs @@ -16,7 +16,7 @@ namespace TimeHACK { public partial class NewGameDialog : Form { - public Boolean Successful = false; + public bool Successful = false; public NewGameDialog() { InitializeComponent(); diff --git a/TimeHACK.Main/SaveDialogs/SaveFileTroubleShooter.cs b/TimeHACK.Main/SaveDialogs/SaveFileTroubleShooter.cs index 4ada932..bcd60d1 100644 --- a/TimeHACK.Main/SaveDialogs/SaveFileTroubleShooter.cs +++ b/TimeHACK.Main/SaveDialogs/SaveFileTroubleShooter.cs @@ -14,9 +14,9 @@ namespace TimeHACK.SaveDialogs { public partial class SaveFileTroubleShooter : Form { - public String log; + public string log; Save savedata = new Save(); - String json; + string json; public SaveFileTroubleShooter() { InitializeComponent(); @@ -32,7 +32,7 @@ namespace TimeHACK.SaveDialogs BeginScan(); } - void WriteToLog(String toWrite) + void WriteToLog(string toWrite) { log += toWrite + Environment.NewLine; } diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index dca45e5..6533e05 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -471,6 +471,7 @@ + diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs index 1b7d006..d13fd90 100644 --- a/TimeHACK.Main/TitleScreen.cs +++ b/TimeHACK.Main/TitleScreen.cs @@ -31,7 +31,7 @@ namespace TimeHACK // Border stuff - public Boolean max = false; + public bool max = false; public const int WM_NCLBUTTONDOWN = 0xA1; public const int HT_CAPTION = 0x2; -- cgit v1.2.3 From a48b40e45536ee5c58d4d6a23bde0a9fc2b8ae3d Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 13 Jul 2017 12:07:52 -0500 Subject: added invalid page catcher and resx's --- .../Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs | 61 ++++++++++ .../OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs | 20 ++++ .../OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx | 123 +++++++++++++++++++++ .../OS/Win95/Win95Apps/IE4Sites/IE4Start.resx | 120 ++++++++++++++++++++ TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs | 3 + TimeHACK.Main/Properties/Resources.Designer.cs | 10 ++ TimeHACK.Main/Properties/Resources.resx | 5 +- TimeHACK.Main/Resources/IE4/nopage.bmp | Bin 0 -> 219642 bytes TimeHACK.Main/TimeHACK.Main.csproj | 11 ++ 9 files changed, 352 insertions(+), 1 deletion(-) create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx create mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx create mode 100644 TimeHACK.Main/Resources/IE4/nopage.bmp (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs new file mode 100644 index 0000000..dd931aa --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs @@ -0,0 +1,61 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class IE4NoPage + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Image = global::TimeHACK.Properties.Resources.nopage; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(406, 538); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // IE4NoPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.pictureBox1); + this.Name = "IE4NoPage"; + this.Size = new System.Drawing.Size(959, 541); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs new file mode 100644 index 0000000..894aaf5 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class IE4NoPage : UserControl + { + public IE4NoPage() + { + InitializeComponent(); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx new file mode 100644 index 0000000..a167a19 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + testy + + \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs index 637201d..568749f 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs @@ -38,6 +38,9 @@ namespace TimeHACK.OS.Win95.Win95Apps case "www.google.stanford.edu": uc = new GooglePrototype(); break; + default: + uc = new IE4NoPage(); + break; } addressbar.Text = url; diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index 803ec4e..c721c0a 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -264,6 +264,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap nopage { + get { + object obj = ResourceManager.GetObject("nopage", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index bf5c1c6..1007fd9 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -522,7 +522,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wAAADsABataJCQAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ + vwAADr8BOAVTJAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu QmCC @@ -603,4 +603,7 @@ ..\Resources\IE4\start_padamslink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\IE4\nopage.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/nopage.bmp b/TimeHACK.Main/Resources/IE4/nopage.bmp new file mode 100644 index 0000000..ebd05c8 Binary files /dev/null and b/TimeHACK.Main/Resources/IE4/nopage.bmp differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index dca45e5..052cbe8 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -145,6 +145,12 @@ GooglePrototype.cs + + UserControl + + + IE4NoPage.cs + UserControl @@ -334,6 +340,10 @@ GooglePrototype.cs + + IE4NoPage.cs + Designer + IE4Start.cs @@ -462,6 +472,7 @@ + -- cgit v1.2.3 From 7a0939095bb8a68e9b79e5d34284d08e13238ac3 Mon Sep 17 00:00:00 2001 From: JayXKanz666 Date: Thu, 13 Jul 2017 22:54:30 +0200 Subject: Added features to IE -Added icons -You can now press enter instead of pressing 'Go' -Made it look more like the real IE4 --- .../OS/Win95/Win95Apps/TempIE4.Designer.cs | 280 +++++++++++++++++---- TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs | 16 +- TimeHACK.Main/Properties/Resources.Designer.cs | 150 +++++++++++ TimeHACK.Main/Properties/Resources.resx | 45 ++++ TimeHACK.Main/Resources/ie4_back.png | Bin 0 -> 554 bytes TimeHACK.Main/Resources/ie4_favorites.png | Bin 0 -> 672 bytes TimeHACK.Main/Resources/ie4_forward.png | Bin 0 -> 574 bytes TimeHACK.Main/Resources/ie4_go.png | Bin 0 -> 628 bytes TimeHACK.Main/Resources/ie4_history.png | Bin 0 -> 883 bytes TimeHACK.Main/Resources/ie4_home.png | Bin 0 -> 720 bytes TimeHACK.Main/Resources/ie4_hsplitter.png | Bin 0 -> 437 bytes TimeHACK.Main/Resources/ie4_hsplitter1.png | Bin 0 -> 445 bytes TimeHACK.Main/Resources/ie4_hsplitter2.png | Bin 0 -> 448 bytes TimeHACK.Main/Resources/ie4_mail.png | Bin 0 -> 879 bytes TimeHACK.Main/Resources/ie4_print.png | Bin 0 -> 686 bytes TimeHACK.Main/Resources/ie4_refresh.png | Bin 0 -> 676 bytes TimeHACK.Main/Resources/ie4_search.png | Bin 0 -> 913 bytes TimeHACK.Main/Resources/ie4_stop.png | Bin 0 -> 687 bytes TimeHACK.Main/Resources/ie4_vsplitter.png | Bin 0 -> 425 bytes TimeHACK.Main/TimeHACK.Main.csproj | 15 ++ 20 files changed, 451 insertions(+), 55 deletions(-) create mode 100644 TimeHACK.Main/Resources/ie4_back.png create mode 100644 TimeHACK.Main/Resources/ie4_favorites.png create mode 100644 TimeHACK.Main/Resources/ie4_forward.png create mode 100644 TimeHACK.Main/Resources/ie4_go.png create mode 100644 TimeHACK.Main/Resources/ie4_history.png create mode 100644 TimeHACK.Main/Resources/ie4_home.png create mode 100644 TimeHACK.Main/Resources/ie4_hsplitter.png create mode 100644 TimeHACK.Main/Resources/ie4_hsplitter1.png create mode 100644 TimeHACK.Main/Resources/ie4_hsplitter2.png create mode 100644 TimeHACK.Main/Resources/ie4_mail.png create mode 100644 TimeHACK.Main/Resources/ie4_print.png create mode 100644 TimeHACK.Main/Resources/ie4_refresh.png create mode 100644 TimeHACK.Main/Resources/ie4_search.png create mode 100644 TimeHACK.Main/Resources/ie4_stop.png create mode 100644 TimeHACK.Main/Resources/ie4_vsplitter.png (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs index 30c1dfb..521d623 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs @@ -29,12 +29,12 @@ private void InitializeComponent() { this.Panel14 = new System.Windows.Forms.Panel(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.GoButton = new System.Windows.Forms.Button(); this._addressbar = new System.Windows.Forms.ComboBox(); this.Label1 = new System.Windows.Forms.Label(); this.Button30 = new System.Windows.Forms.Button(); this.Button29 = new System.Windows.Forms.Button(); - this.Button28 = new System.Windows.Forms.Button(); this.Button27 = new System.Windows.Forms.Button(); this.Button7 = new System.Windows.Forms.Button(); this.Button6 = new System.Windows.Forms.Button(); @@ -44,6 +44,11 @@ this.ForwardButton = new System.Windows.Forms.Button(); this.BackButton = new System.Windows.Forms.Button(); this.Panel1 = new System.Windows.Forms.Panel(); + this.pictureBox8 = new System.Windows.Forms.PictureBox(); + this.pictureBox6 = new System.Windows.Forms.PictureBox(); + this.pictureBox5 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.MenuStrip3 = new System.Windows.Forms.MenuStrip(); this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); @@ -141,31 +146,62 @@ this.ToolStripMenuItem94 = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem95 = new System.Windows.Forms.ToolStripMenuItem(); this._browsingArea = new System.Windows.Forms.Panel(); + this.pictureBox4 = new System.Windows.Forms.PictureBox(); + this.pictureBox7 = new System.Windows.Forms.PictureBox(); + this.pictureBox9 = new System.Windows.Forms.PictureBox(); + this.label2 = new System.Windows.Forms.Label(); + this.pictureBox10 = new System.Windows.Forms.PictureBox(); this.Panel14.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.MenuStrip3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit(); this.SuspendLayout(); // // Panel14 // this.Panel14.BackColor = System.Drawing.Color.Silver; + this.Panel14.Controls.Add(this.pictureBox10); + this.Panel14.Controls.Add(this.label2); + this.Panel14.Controls.Add(this.pictureBox9); + this.Panel14.Controls.Add(this.pictureBox3); this.Panel14.Controls.Add(this.GoButton); this.Panel14.Controls.Add(this._addressbar); this.Panel14.Controls.Add(this.Label1); this.Panel14.Dock = System.Windows.Forms.DockStyle.Top; - this.Panel14.Location = new System.Drawing.Point(0, 73); + this.Panel14.Location = new System.Drawing.Point(0, 71); this.Panel14.Name = "Panel14"; - this.Panel14.Size = new System.Drawing.Size(959, 38); + this.Panel14.Size = new System.Drawing.Size(959, 31); this.Panel14.TabIndex = 16; // + // pictureBox3 + // + this.pictureBox3.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter2; + this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox3.Location = new System.Drawing.Point(2, 3); + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.Size = new System.Drawing.Size(3, 21); + this.pictureBox3.TabIndex = 2; + this.pictureBox3.TabStop = false; + // // GoButton // this.GoButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.GoButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.GoButton.Location = new System.Drawing.Point(898, 5); + this.GoButton.Image = global::TimeHACK.Properties.Resources.ie4_go; + this.GoButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.GoButton.Location = new System.Drawing.Point(872, 2); this.GoButton.Name = "GoButton"; - this.GoButton.Size = new System.Drawing.Size(55, 28); - this.GoButton.TabIndex = 2; + this.GoButton.Size = new System.Drawing.Size(44, 23); + this.GoButton.TabIndex = 0; this.GoButton.Text = "Go"; this.GoButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.GoButton.UseVisualStyleBackColor = true; @@ -176,30 +212,33 @@ this._addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this._addressbar.FormattingEnabled = true; - this._addressbar.Location = new System.Drawing.Point(58, 9); + this._addressbar.Location = new System.Drawing.Point(58, 2); this._addressbar.Name = "_addressbar"; this._addressbar.Size = new System.Drawing.Size(812, 21); this._addressbar.TabIndex = 1; this._addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; + this._addressbar.KeyDown += new System.Windows.Forms.KeyEventHandler(this._addressbar_KeyDown); // // Label1 // this.Label1.AutoSize = true; - this.Label1.Location = new System.Drawing.Point(4, 13); + this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.Label1.Location = new System.Drawing.Point(12, 7); this.Label1.Name = "Label1"; - this.Label1.Size = new System.Drawing.Size(48, 13); + this.Label1.Size = new System.Drawing.Size(45, 13); this.Label1.TabIndex = 0; - this.Label1.Text = "Address:"; + this.Label1.Text = "Address"; // // Button30 // this.Button30.Dock = System.Windows.Forms.DockStyle.Left; this.Button30.FlatAppearance.BorderSize = 0; this.Button30.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button30.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.Button30.Location = new System.Drawing.Point(750, 0); + this.Button30.Image = global::TimeHACK.Properties.Resources.ie4_print; + this.Button30.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button30.Location = new System.Drawing.Point(591, 0); this.Button30.Name = "Button30"; - this.Button30.Size = new System.Drawing.Size(75, 47); + this.Button30.Size = new System.Drawing.Size(49, 47); this.Button30.TabIndex = 10; this.Button30.Text = "Print"; this.Button30.TextAlign = System.Drawing.ContentAlignment.BottomCenter; @@ -211,42 +250,29 @@ this.Button29.Dock = System.Windows.Forms.DockStyle.Left; this.Button29.FlatAppearance.BorderSize = 0; this.Button29.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button29.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.Button29.Location = new System.Drawing.Point(675, 0); + this.Button29.Image = global::TimeHACK.Properties.Resources.ie4_mail; + this.Button29.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button29.Location = new System.Drawing.Point(528, 0); this.Button29.Name = "Button29"; - this.Button29.Size = new System.Drawing.Size(75, 47); + this.Button29.Size = new System.Drawing.Size(63, 47); this.Button29.TabIndex = 9; this.Button29.Text = "Mail"; this.Button29.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button29.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button29.UseVisualStyleBackColor = true; // - // Button28 - // - this.Button28.Dock = System.Windows.Forms.DockStyle.Left; - this.Button28.FlatAppearance.BorderSize = 0; - this.Button28.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button28.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.Button28.Location = new System.Drawing.Point(600, 0); - this.Button28.Name = "Button28"; - this.Button28.Size = new System.Drawing.Size(75, 47); - this.Button28.TabIndex = 8; - this.Button28.Text = "Full Screen"; - this.Button28.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.Button28.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; - this.Button28.UseVisualStyleBackColor = true; - // // Button27 // this.Button27.Dock = System.Windows.Forms.DockStyle.Left; this.Button27.FlatAppearance.BorderSize = 0; this.Button27.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button27.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.Button27.Location = new System.Drawing.Point(525, 0); + this.Button27.Image = global::TimeHACK.Properties.Resources.ie4_history; + this.Button27.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button27.Location = new System.Drawing.Point(465, 0); this.Button27.Name = "Button27"; - this.Button27.Size = new System.Drawing.Size(75, 47); + this.Button27.Size = new System.Drawing.Size(63, 47); this.Button27.TabIndex = 7; - this.Button27.Text = "Channels"; + this.Button27.Text = "History"; this.Button27.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button27.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button27.UseVisualStyleBackColor = true; @@ -256,11 +282,14 @@ this.Button7.Dock = System.Windows.Forms.DockStyle.Left; this.Button7.FlatAppearance.BorderSize = 0; this.Button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button7.Location = new System.Drawing.Point(450, 0); + this.Button7.Image = global::TimeHACK.Properties.Resources.ie4_favorites; + this.Button7.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button7.Location = new System.Drawing.Point(402, 0); this.Button7.Name = "Button7"; - this.Button7.Size = new System.Drawing.Size(75, 47); + this.Button7.Size = new System.Drawing.Size(63, 47); this.Button7.TabIndex = 6; - this.Button7.Text = "History"; + this.Button7.Text = "Favorites"; + this.Button7.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button7.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button7.UseVisualStyleBackColor = true; // @@ -269,11 +298,14 @@ this.Button6.Dock = System.Windows.Forms.DockStyle.Left; this.Button6.FlatAppearance.BorderSize = 0; this.Button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button6.Location = new System.Drawing.Point(375, 0); + this.Button6.Image = global::TimeHACK.Properties.Resources.ie4_search; + this.Button6.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button6.Location = new System.Drawing.Point(339, 0); this.Button6.Name = "Button6"; - this.Button6.Size = new System.Drawing.Size(75, 47); + this.Button6.Size = new System.Drawing.Size(63, 47); this.Button6.TabIndex = 5; - this.Button6.Text = "Favorites"; + this.Button6.Text = "Search"; + this.Button6.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button6.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button6.UseVisualStyleBackColor = true; // @@ -282,11 +314,14 @@ this.HomeButton.Dock = System.Windows.Forms.DockStyle.Left; this.HomeButton.FlatAppearance.BorderSize = 0; this.HomeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.HomeButton.Location = new System.Drawing.Point(300, 0); + this.HomeButton.Image = global::TimeHACK.Properties.Resources.ie4_home; + this.HomeButton.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.HomeButton.Location = new System.Drawing.Point(276, 0); this.HomeButton.Name = "HomeButton"; - this.HomeButton.Size = new System.Drawing.Size(75, 47); + this.HomeButton.Size = new System.Drawing.Size(63, 47); this.HomeButton.TabIndex = 4; this.HomeButton.Text = "Home"; + this.HomeButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.HomeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.HomeButton.UseVisualStyleBackColor = true; // @@ -295,11 +330,14 @@ this.Button4.Dock = System.Windows.Forms.DockStyle.Left; this.Button4.FlatAppearance.BorderSize = 0; this.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button4.Location = new System.Drawing.Point(225, 0); + this.Button4.Image = global::TimeHACK.Properties.Resources.ie4_refresh; + this.Button4.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button4.Location = new System.Drawing.Point(213, 0); this.Button4.Name = "Button4"; - this.Button4.Size = new System.Drawing.Size(75, 47); + this.Button4.Size = new System.Drawing.Size(63, 47); this.Button4.TabIndex = 3; this.Button4.Text = "Refresh"; + this.Button4.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button4.UseVisualStyleBackColor = true; // @@ -308,11 +346,14 @@ this.Button3.Dock = System.Windows.Forms.DockStyle.Left; this.Button3.FlatAppearance.BorderSize = 0; this.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button3.Image = global::TimeHACK.Properties.Resources.ie4_stop; + this.Button3.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button3.Location = new System.Drawing.Point(150, 0); this.Button3.Name = "Button3"; - this.Button3.Size = new System.Drawing.Size(75, 47); + this.Button3.Size = new System.Drawing.Size(63, 47); this.Button3.TabIndex = 2; this.Button3.Text = "Stop"; + this.Button3.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.Button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button3.UseVisualStyleBackColor = true; // @@ -321,11 +362,14 @@ this.ForwardButton.Dock = System.Windows.Forms.DockStyle.Left; this.ForwardButton.FlatAppearance.BorderSize = 0; this.ForwardButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ForwardButton.Image = global::TimeHACK.Properties.Resources.ie4_forward; + this.ForwardButton.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.ForwardButton.Location = new System.Drawing.Point(75, 0); this.ForwardButton.Name = "ForwardButton"; this.ForwardButton.Size = new System.Drawing.Size(75, 47); this.ForwardButton.TabIndex = 1; this.ForwardButton.Text = "Forward"; + this.ForwardButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ForwardButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.ForwardButton.UseVisualStyleBackColor = true; // @@ -334,21 +378,27 @@ this.BackButton.Dock = System.Windows.Forms.DockStyle.Left; this.BackButton.FlatAppearance.BorderSize = 0; this.BackButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.BackButton.Image = global::TimeHACK.Properties.Resources.ie4_back; + this.BackButton.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.BackButton.Location = new System.Drawing.Point(0, 0); this.BackButton.Name = "BackButton"; this.BackButton.Size = new System.Drawing.Size(75, 47); - this.BackButton.TabIndex = 0; + this.BackButton.TabIndex = 1; this.BackButton.Text = "Back"; + this.BackButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.BackButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.BackButton.UseVisualStyleBackColor = true; // // Panel1 // this.Panel1.BackColor = System.Drawing.Color.Silver; - this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.Panel1.Controls.Add(this.pictureBox8); + this.Panel1.Controls.Add(this.pictureBox6); + this.Panel1.Controls.Add(this.pictureBox5); + this.Panel1.Controls.Add(this.pictureBox2); + this.Panel1.Controls.Add(this.pictureBox1); this.Panel1.Controls.Add(this.Button30); this.Panel1.Controls.Add(this.Button29); - this.Panel1.Controls.Add(this.Button28); this.Panel1.Controls.Add(this.Button27); this.Panel1.Controls.Add(this.Button7); this.Panel1.Controls.Add(this.Button6); @@ -360,9 +410,59 @@ this.Panel1.Dock = System.Windows.Forms.DockStyle.Top; this.Panel1.Location = new System.Drawing.Point(0, 24); this.Panel1.Name = "Panel1"; - this.Panel1.Size = new System.Drawing.Size(959, 49); + this.Panel1.Size = new System.Drawing.Size(959, 47); this.Panel1.TabIndex = 14; // + // pictureBox8 + // + this.pictureBox8.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox8.Location = new System.Drawing.Point(0, 46); + this.pictureBox8.Name = "pictureBox8"; + this.pictureBox8.Size = new System.Drawing.Size(959, 2); + this.pictureBox8.TabIndex = 15; + this.pictureBox8.TabStop = false; + // + // pictureBox6 + // + this.pictureBox6.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox6.Location = new System.Drawing.Point(0, 0); + this.pictureBox6.Name = "pictureBox6"; + this.pictureBox6.Size = new System.Drawing.Size(959, 2); + this.pictureBox6.TabIndex = 14; + this.pictureBox6.TabStop = false; + // + // pictureBox5 + // + this.pictureBox5.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter3; + this.pictureBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox5.Location = new System.Drawing.Point(2, 5); + this.pictureBox5.Name = "pictureBox5"; + this.pictureBox5.Size = new System.Drawing.Size(3, 38); + this.pictureBox5.TabIndex = 13; + this.pictureBox5.TabStop = false; + // + // pictureBox2 + // + this.pictureBox2.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter; + this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox2.Location = new System.Drawing.Point(337, -1); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(2, 47); + this.pictureBox2.TabIndex = 12; + this.pictureBox2.TabStop = false; + // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox1.Location = new System.Drawing.Point(526, -1); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(2, 47); + this.pictureBox1.TabIndex = 11; + this.pictureBox1.TabStop = false; + // // MenuStrip3 // this.MenuStrip3.BackColor = System.Drawing.Color.Silver; @@ -1145,16 +1245,68 @@ // // _browsingArea // + this._browsingArea.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._browsingArea.Dock = System.Windows.Forms.DockStyle.Fill; - this._browsingArea.Location = new System.Drawing.Point(0, 111); - this._browsingArea.Name = "browsingArea"; - this._browsingArea.Size = new System.Drawing.Size(959, 483); + this._browsingArea.Location = new System.Drawing.Point(0, 102); + this._browsingArea.Name = "_browsingArea"; + this._browsingArea.Size = new System.Drawing.Size(959, 492); this._browsingArea.TabIndex = 17; // + // pictureBox4 + // + this.pictureBox4.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter2; + this.pictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox4.Location = new System.Drawing.Point(2, 4); + this.pictureBox4.Name = "pictureBox4"; + this.pictureBox4.Size = new System.Drawing.Size(3, 19); + this.pictureBox4.TabIndex = 18; + this.pictureBox4.TabStop = false; + // + // pictureBox7 + // + this.pictureBox7.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox7.Location = new System.Drawing.Point(0, 0); + this.pictureBox7.Name = "pictureBox7"; + this.pictureBox7.Size = new System.Drawing.Size(959, 2); + this.pictureBox7.TabIndex = 15; + this.pictureBox7.TabStop = false; + // + // pictureBox9 + // + this.pictureBox9.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox9.Location = new System.Drawing.Point(0, 26); + this.pictureBox9.Name = "pictureBox9"; + this.pictureBox9.Size = new System.Drawing.Size(959, 2); + this.pictureBox9.TabIndex = 16; + this.pictureBox9.TabStop = false; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(924, 7); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(32, 13); + this.label2.TabIndex = 17; + this.label2.Text = "Links"; + // + // pictureBox10 + // + this.pictureBox10.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter2; + this.pictureBox10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox10.Location = new System.Drawing.Point(921, 4); + this.pictureBox10.Name = "pictureBox10"; + this.pictureBox10.Size = new System.Drawing.Size(3, 20); + this.pictureBox10.TabIndex = 19; + this.pictureBox10.TabStop = false; + // // TempIE4 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.pictureBox7); + this.Controls.Add(this.pictureBox4); this.Controls.Add(this._browsingArea); this.Controls.Add(this.Panel14); this.Controls.Add(this.Panel1); @@ -1164,9 +1316,19 @@ this.Load += new System.EventHandler(this.TempIE4_Load); this.Panel14.ResumeLayout(false); this.Panel14.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.MenuStrip3.ResumeLayout(false); this.MenuStrip3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -1180,7 +1342,6 @@ internal System.Windows.Forms.Label Label1; internal System.Windows.Forms.Button Button30; internal System.Windows.Forms.Button Button29; - internal System.Windows.Forms.Button Button28; internal System.Windows.Forms.Button Button27; internal System.Windows.Forms.Button Button7; internal System.Windows.Forms.Button Button6; @@ -1287,5 +1448,16 @@ internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem94; internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem95; private System.Windows.Forms.Panel _browsingArea; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox3; + private System.Windows.Forms.PictureBox pictureBox4; + private System.Windows.Forms.PictureBox pictureBox5; + private System.Windows.Forms.PictureBox pictureBox6; + private System.Windows.Forms.PictureBox pictureBox7; + private System.Windows.Forms.PictureBox pictureBox8; + private System.Windows.Forms.PictureBox pictureBox9; + private System.Windows.Forms.PictureBox pictureBox10; + private System.Windows.Forms.Label label2; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs index 568749f..d41add1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs @@ -23,7 +23,7 @@ namespace TimeHACK.OS.Win95.Win95Apps addressbar = _addressbar; } - public static void GoToPage(string url) + public static async void GoToPage(string url) { UserControl uc = new UserControl(); @@ -45,6 +45,9 @@ namespace TimeHACK.OS.Win95.Win95Apps addressbar.Text = url; uc.Dock = DockStyle.Fill; + + await Task.Delay(new Random().Next(500, 1500)); + browsingArea.Controls.Clear(); browsingArea.Controls.Add(uc); } @@ -52,11 +55,22 @@ namespace TimeHACK.OS.Win95.Win95Apps private void TempIE4_Load(object sender, EventArgs e) { GoToPage("www.microsoft.com/windows/ie/default.htm"); + GoButton.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); } private void GoButton_Click(object sender, EventArgs e) { GoToPage(addressbar.Text); } + + private void _addressbar_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + GoButton_Click(this, new EventArgs()); + e.SuppressKeyPress = true; + browsingArea.Focus(); + } + } } } diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index c721c0a..65971a2 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -175,6 +175,156 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_back { + get { + object obj = ResourceManager.GetObject("ie4_back", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_favorites { + get { + object obj = ResourceManager.GetObject("ie4_favorites", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_forward { + get { + object obj = ResourceManager.GetObject("ie4_forward", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_go { + get { + object obj = ResourceManager.GetObject("ie4_go", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_history { + get { + object obj = ResourceManager.GetObject("ie4_history", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_home { + get { + object obj = ResourceManager.GetObject("ie4_home", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_hsplitter { + get { + object obj = ResourceManager.GetObject("ie4_hsplitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_mail { + get { + object obj = ResourceManager.GetObject("ie4_mail", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_print { + get { + object obj = ResourceManager.GetObject("ie4_print", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_refresh { + get { + object obj = ResourceManager.GetObject("ie4_refresh", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_search { + get { + object obj = ResourceManager.GetObject("ie4_search", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_stop { + get { + object obj = ResourceManager.GetObject("ie4_stop", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_vsplitter { + get { + object obj = ResourceManager.GetObject("ie4_vsplitter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_vsplitter2 { + get { + object obj = ResourceManager.GetObject("ie4_vsplitter2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4_vsplitter3 { + get { + object obj = ResourceManager.GetObject("ie4_vsplitter3", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index 1007fd9..7fd3bd8 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -606,4 +606,49 @@ ..\Resources\IE4\nopage.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\ie4_back.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_favorites.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_forward.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_history.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_home.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_hsplitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_mail.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_print.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_stop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_vsplitter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_hsplitter1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ie4_hsplitter2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/ie4_back.png b/TimeHACK.Main/Resources/ie4_back.png new file mode 100644 index 0000000..f4983c2 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_back.png differ diff --git a/TimeHACK.Main/Resources/ie4_favorites.png b/TimeHACK.Main/Resources/ie4_favorites.png new file mode 100644 index 0000000..0f9503f Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_favorites.png differ diff --git a/TimeHACK.Main/Resources/ie4_forward.png b/TimeHACK.Main/Resources/ie4_forward.png new file mode 100644 index 0000000..721c0a2 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_forward.png differ diff --git a/TimeHACK.Main/Resources/ie4_go.png b/TimeHACK.Main/Resources/ie4_go.png new file mode 100644 index 0000000..68c034f Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_go.png differ diff --git a/TimeHACK.Main/Resources/ie4_history.png b/TimeHACK.Main/Resources/ie4_history.png new file mode 100644 index 0000000..23c50dd Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_history.png differ diff --git a/TimeHACK.Main/Resources/ie4_home.png b/TimeHACK.Main/Resources/ie4_home.png new file mode 100644 index 0000000..f2ff448 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_home.png differ diff --git a/TimeHACK.Main/Resources/ie4_hsplitter.png b/TimeHACK.Main/Resources/ie4_hsplitter.png new file mode 100644 index 0000000..6a1c325 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_hsplitter.png differ diff --git a/TimeHACK.Main/Resources/ie4_hsplitter1.png b/TimeHACK.Main/Resources/ie4_hsplitter1.png new file mode 100644 index 0000000..88e567d Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_hsplitter1.png differ diff --git a/TimeHACK.Main/Resources/ie4_hsplitter2.png b/TimeHACK.Main/Resources/ie4_hsplitter2.png new file mode 100644 index 0000000..a920b9e Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_hsplitter2.png differ diff --git a/TimeHACK.Main/Resources/ie4_mail.png b/TimeHACK.Main/Resources/ie4_mail.png new file mode 100644 index 0000000..f3e53a3 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_mail.png differ diff --git a/TimeHACK.Main/Resources/ie4_print.png b/TimeHACK.Main/Resources/ie4_print.png new file mode 100644 index 0000000..64c9bf4 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_print.png differ diff --git a/TimeHACK.Main/Resources/ie4_refresh.png b/TimeHACK.Main/Resources/ie4_refresh.png new file mode 100644 index 0000000..e582925 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_refresh.png differ diff --git a/TimeHACK.Main/Resources/ie4_search.png b/TimeHACK.Main/Resources/ie4_search.png new file mode 100644 index 0000000..7427c74 Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_search.png differ diff --git a/TimeHACK.Main/Resources/ie4_stop.png b/TimeHACK.Main/Resources/ie4_stop.png new file mode 100644 index 0000000..a64a97c Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_stop.png differ diff --git a/TimeHACK.Main/Resources/ie4_vsplitter.png b/TimeHACK.Main/Resources/ie4_vsplitter.png new file mode 100644 index 0000000..c9f2efd Binary files /dev/null and b/TimeHACK.Main/Resources/ie4_vsplitter.png differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index a7a8817..ce7407e 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -480,6 +480,21 @@ + + + + + + + + + + + + + + + -- cgit v1.2.3 From 7c02e210108003913dfc77a001f546bb0617dba8 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 13 Jul 2017 19:13:35 -0500 Subject: pixel perfected:tm: calculator --- TimeHACK.Engine/Paintbrush.cs | 9 + .../Win95Apps/WinClassicCalculator.Designer.cs | 183 +++++++++++++-------- .../OS/Win95/Win95Apps/WinClassicCalculator.cs | 19 ++- .../OS/Win95/Win95Apps/WinClassicTimeDistorter.cs | 1 + TimeHACK.Main/Properties/Resources.Designer.cs | 10 ++ TimeHACK.Main/Properties/Resources.resx | 5 +- TimeHACK.Main/Resources/IE4/ie4about.png | Bin 0 -> 11773 bytes TimeHACK.Main/TimeHACK.Main.csproj | 1 + 8 files changed, 158 insertions(+), 70 deletions(-) create mode 100644 TimeHACK.Main/Resources/IE4/ie4about.png (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Engine/Paintbrush.cs b/TimeHACK.Engine/Paintbrush.cs index 1b442bc..96d324d 100644 --- a/TimeHACK.Engine/Paintbrush.cs +++ b/TimeHACK.Engine/Paintbrush.cs @@ -19,5 +19,14 @@ namespace TimeHACK.Engine SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset, SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset); } + + public static void PaintClassicBordersIndented(object sender, PaintEventArgs e, int borderwidth) + { + ControlPaint.DrawBorder(e.Graphics, ((Control)sender).ClientRectangle, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset); + } } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs index f71c5e3..49a47d0 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs @@ -67,7 +67,9 @@ this.Button19 = new System.Windows.Forms.Button(); this.Button9 = new System.Windows.Forms.Button(); this.MenuStrip2 = new System.Windows.Forms.MenuStrip(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.MenuStrip2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // timer1 @@ -79,28 +81,28 @@ this.HelpToolStripMenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.AboutCalculatorToolStripMenuItem}); this.HelpToolStripMenuItem3.Name = "HelpToolStripMenuItem3"; - this.HelpToolStripMenuItem3.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem3.Size = new System.Drawing.Size(41, 20); this.HelpToolStripMenuItem3.Text = "Help"; // // AboutCalculatorToolStripMenuItem // this.AboutCalculatorToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.AboutCalculatorToolStripMenuItem.Name = "AboutCalculatorToolStripMenuItem"; - this.AboutCalculatorToolStripMenuItem.Size = new System.Drawing.Size(164, 22); + this.AboutCalculatorToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.AboutCalculatorToolStripMenuItem.Text = "About Calculator"; // // StandardToolStripMenuItem // this.StandardToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.StandardToolStripMenuItem.Name = "StandardToolStripMenuItem"; - this.StandardToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.StandardToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.StandardToolStripMenuItem.Text = "Standard"; // // ScientificToolStripMenuItem // this.ScientificToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.ScientificToolStripMenuItem.Name = "ScientificToolStripMenuItem"; - this.ScientificToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.ScientificToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.ScientificToolStripMenuItem.Text = "Scientific"; // // HelpToolStripMenuItem2 @@ -109,21 +111,21 @@ this.ScientificToolStripMenuItem, this.StandardToolStripMenuItem}); this.HelpToolStripMenuItem2.Name = "HelpToolStripMenuItem2"; - this.HelpToolStripMenuItem2.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem2.Size = new System.Drawing.Size(42, 20); this.HelpToolStripMenuItem2.Text = "View"; // // PasteCtrlVToolStripMenuItem1 // this.PasteCtrlVToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; this.PasteCtrlVToolStripMenuItem1.Name = "PasteCtrlVToolStripMenuItem1"; - this.PasteCtrlVToolStripMenuItem1.Size = new System.Drawing.Size(158, 22); + this.PasteCtrlVToolStripMenuItem1.Size = new System.Drawing.Size(150, 22); this.PasteCtrlVToolStripMenuItem1.Text = "Paste Ctrl+V"; // // CopyCtrlCToolStripMenuItem1 // this.CopyCtrlCToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; this.CopyCtrlCToolStripMenuItem1.Name = "CopyCtrlCToolStripMenuItem1"; - this.CopyCtrlCToolStripMenuItem1.Size = new System.Drawing.Size(158, 22); + this.CopyCtrlCToolStripMenuItem1.Size = new System.Drawing.Size(150, 22); this.CopyCtrlCToolStripMenuItem1.Text = "Copy Ctrl+C"; // // EditToolStripMenuItem1 @@ -133,19 +135,21 @@ this.CopyCtrlCToolStripMenuItem1, this.PasteCtrlVToolStripMenuItem1}); this.EditToolStripMenuItem1.Name = "EditToolStripMenuItem1"; - this.EditToolStripMenuItem1.Size = new System.Drawing.Size(39, 20); + this.EditToolStripMenuItem1.Size = new System.Drawing.Size(37, 20); this.EditToolStripMenuItem1.Text = "Edit"; // // txtNumbers // this.txtNumbers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtNumbers.Location = new System.Drawing.Point(18, 62); + this.txtNumbers.BackColor = System.Drawing.Color.White; + this.txtNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.txtNumbers.Location = new System.Drawing.Point(11, 39); + this.txtNumbers.Margin = new System.Windows.Forms.Padding(4); this.txtNumbers.Multiline = true; this.txtNumbers.Name = "txtNumbers"; this.txtNumbers.ReadOnly = true; - this.txtNumbers.Size = new System.Drawing.Size(272, 28); + this.txtNumbers.Size = new System.Drawing.Size(249, 26); this.txtNumbers.TabIndex = 85; this.txtNumbers.Text = "0"; this.txtNumbers.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; @@ -153,11 +157,12 @@ // Button27 // this.Button27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button27.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button27.ForeColor = System.Drawing.Color.Firebrick; - this.Button27.Location = new System.Drawing.Point(179, 96); + this.Button27.Location = new System.Drawing.Point(157, 71); this.Button27.Name = "Button27"; - this.Button27.Size = new System.Drawing.Size(53, 30); + this.Button27.Size = new System.Drawing.Size(49, 28); this.Button27.TabIndex = 84; this.Button27.Text = "CE"; this.Button27.UseVisualStyleBackColor = true; @@ -166,11 +171,12 @@ // Button26 // this.Button26.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button26.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button26.ForeColor = System.Drawing.Color.Firebrick; - this.Button26.Location = new System.Drawing.Point(237, 96); + this.Button26.Location = new System.Drawing.Point(210, 71); this.Button26.Name = "Button26"; - this.Button26.Size = new System.Drawing.Size(53, 30); + this.Button26.Size = new System.Drawing.Size(49, 28); this.Button26.TabIndex = 83; this.Button26.Text = "C"; this.Button26.UseVisualStyleBackColor = true; @@ -179,11 +185,12 @@ // Button1 // this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button1.ForeColor = System.Drawing.Color.Red; - this.Button1.Location = new System.Drawing.Point(18, 172); + this.Button1.Location = new System.Drawing.Point(11, 139); this.Button1.Name = "Button1"; - this.Button1.Size = new System.Drawing.Size(38, 30); + this.Button1.Size = new System.Drawing.Size(36, 28); this.Button1.TabIndex = 58; this.Button1.Text = "MR"; this.Button1.UseVisualStyleBackColor = true; @@ -191,11 +198,12 @@ // Button25 // this.Button25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button25.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button25.ForeColor = System.Drawing.Color.Firebrick; - this.Button25.Location = new System.Drawing.Point(120, 96); + this.Button25.Location = new System.Drawing.Point(104, 71); this.Button25.Name = "Button25"; - this.Button25.Size = new System.Drawing.Size(53, 30); + this.Button25.Size = new System.Drawing.Size(49, 28); this.Button25.TabIndex = 82; this.Button25.Text = "Back"; this.Button25.UseVisualStyleBackColor = true; @@ -204,11 +212,12 @@ // Button2 // this.Button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button2.ForeColor = System.Drawing.Color.Red; - this.Button2.Location = new System.Drawing.Point(18, 243); + this.Button2.Location = new System.Drawing.Point(11, 207); this.Button2.Name = "Button2"; - this.Button2.Size = new System.Drawing.Size(38, 30); + this.Button2.Size = new System.Drawing.Size(36, 28); this.Button2.TabIndex = 59; this.Button2.Text = "M+"; this.Button2.UseVisualStyleBackColor = true; @@ -216,11 +225,12 @@ // Button21 // this.Button21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button21.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Button21.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button21.Location = new System.Drawing.Point(252, 243); + this.Button21.ForeColor = System.Drawing.Color.Red; + this.Button21.Location = new System.Drawing.Point(223, 207); this.Button21.Name = "Button21"; - this.Button21.Size = new System.Drawing.Size(38, 30); + this.Button21.Size = new System.Drawing.Size(36, 28); this.Button21.TabIndex = 81; this.Button21.Text = "="; this.Button21.UseVisualStyleBackColor = true; @@ -229,11 +239,12 @@ // Button3 // this.Button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button3.ForeColor = System.Drawing.Color.Red; - this.Button3.Location = new System.Drawing.Point(18, 208); + this.Button3.Location = new System.Drawing.Point(11, 173); this.Button3.Name = "Button3"; - this.Button3.Size = new System.Drawing.Size(38, 30); + this.Button3.Size = new System.Drawing.Size(36, 28); this.Button3.TabIndex = 60; this.Button3.Text = "MS"; this.Button3.UseVisualStyleBackColor = true; @@ -241,24 +252,27 @@ // Button22 // this.Button22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button22.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button22.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button22.Location = new System.Drawing.Point(252, 136); + this.Button22.Location = new System.Drawing.Point(223, 105); this.Button22.Name = "Button22"; - this.Button22.Size = new System.Drawing.Size(38, 30); + this.Button22.Size = new System.Drawing.Size(36, 28); this.Button22.TabIndex = 80; this.Button22.Text = "sqrt"; + this.Button22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Button22.UseVisualStyleBackColor = true; this.Button22.Click += new System.EventHandler(this.Button22_Click); // // Button4 // this.Button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button4.ForeColor = System.Drawing.Color.Red; - this.Button4.Location = new System.Drawing.Point(18, 136); + this.Button4.Location = new System.Drawing.Point(11, 105); this.Button4.Name = "Button4"; - this.Button4.Size = new System.Drawing.Size(38, 30); + this.Button4.Size = new System.Drawing.Size(36, 28); this.Button4.TabIndex = 61; this.Button4.Text = "MC"; this.Button4.UseVisualStyleBackColor = true; @@ -266,11 +280,12 @@ // Button23 // this.Button23.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button23.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button23.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button23.Location = new System.Drawing.Point(252, 208); + this.Button23.Location = new System.Drawing.Point(223, 173); this.Button23.Name = "Button23"; - this.Button23.Size = new System.Drawing.Size(38, 30); + this.Button23.Size = new System.Drawing.Size(36, 28); this.Button23.TabIndex = 79; this.Button23.Text = "1/x"; this.Button23.UseVisualStyleBackColor = true; @@ -279,11 +294,12 @@ // Button11 // this.Button11.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button11.ForeColor = System.Drawing.Color.Blue; - this.Button11.Location = new System.Drawing.Point(162, 136); + this.Button11.Location = new System.Drawing.Point(143, 105); this.Button11.Name = "Button11"; - this.Button11.Size = new System.Drawing.Size(38, 30); + this.Button11.Size = new System.Drawing.Size(36, 28); this.Button11.TabIndex = 70; this.Button11.Text = "9"; this.Button11.UseVisualStyleBackColor = true; @@ -292,11 +308,12 @@ // Button7 // this.Button7.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button7.ForeColor = System.Drawing.Color.Blue; - this.Button7.Location = new System.Drawing.Point(74, 172); + this.Button7.Location = new System.Drawing.Point(63, 139); this.Button7.Name = "Button7"; - this.Button7.Size = new System.Drawing.Size(38, 30); + this.Button7.Size = new System.Drawing.Size(36, 28); this.Button7.TabIndex = 62; this.Button7.Text = "4"; this.Button7.UseVisualStyleBackColor = true; @@ -305,11 +322,12 @@ // Button16 // this.Button16.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button16.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button16.ForeColor = System.Drawing.Color.Blue; - this.Button16.Location = new System.Drawing.Point(74, 243); + this.Button16.Location = new System.Drawing.Point(63, 207); this.Button16.Name = "Button16"; - this.Button16.Size = new System.Drawing.Size(38, 30); + this.Button16.Size = new System.Drawing.Size(36, 28); this.Button16.TabIndex = 71; this.Button16.Text = "0"; this.Button16.UseVisualStyleBackColor = true; @@ -318,11 +336,12 @@ // Button24 // this.Button24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button24.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button24.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button24.Location = new System.Drawing.Point(252, 172); + this.Button24.Location = new System.Drawing.Point(223, 139); this.Button24.Name = "Button24"; - this.Button24.Size = new System.Drawing.Size(38, 30); + this.Button24.Size = new System.Drawing.Size(36, 28); this.Button24.TabIndex = 78; this.Button24.Text = "%"; this.Button24.UseVisualStyleBackColor = true; @@ -331,11 +350,12 @@ // Button12 // this.Button12.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button12.ForeColor = System.Drawing.Color.Blue; - this.Button12.Location = new System.Drawing.Point(162, 208); + this.Button12.Location = new System.Drawing.Point(143, 173); this.Button12.Name = "Button12"; - this.Button12.Size = new System.Drawing.Size(38, 30); + this.Button12.Size = new System.Drawing.Size(36, 28); this.Button12.TabIndex = 69; this.Button12.Text = "3"; this.Button12.UseVisualStyleBackColor = true; @@ -344,11 +364,12 @@ // Button6 // this.Button6.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button6.ForeColor = System.Drawing.Color.Blue; - this.Button6.Location = new System.Drawing.Point(74, 208); + this.Button6.Location = new System.Drawing.Point(63, 173); this.Button6.Name = "Button6"; - this.Button6.Size = new System.Drawing.Size(38, 30); + this.Button6.Size = new System.Drawing.Size(36, 28); this.Button6.TabIndex = 63; this.Button6.Text = "1"; this.Button6.UseVisualStyleBackColor = true; @@ -357,11 +378,12 @@ // Button15 // this.Button15.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button15.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button15.ForeColor = System.Drawing.Color.Blue; - this.Button15.Location = new System.Drawing.Point(118, 243); + this.Button15.Location = new System.Drawing.Point(103, 207); this.Button15.Name = "Button15"; - this.Button15.Size = new System.Drawing.Size(38, 30); + this.Button15.Size = new System.Drawing.Size(36, 28); this.Button15.TabIndex = 72; this.Button15.Text = "+/-"; this.Button15.UseVisualStyleBackColor = true; @@ -370,11 +392,12 @@ // Button17 // this.Button17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button17.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button17.ForeColor = System.Drawing.Color.Red; - this.Button17.Location = new System.Drawing.Point(208, 243); + this.Button17.Location = new System.Drawing.Point(183, 207); this.Button17.Name = "Button17"; - this.Button17.Size = new System.Drawing.Size(38, 30); + this.Button17.Size = new System.Drawing.Size(36, 28); this.Button17.TabIndex = 77; this.Button17.Text = "+"; this.Button17.UseVisualStyleBackColor = true; @@ -383,11 +406,12 @@ // Button13 // this.Button13.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button13.ForeColor = System.Drawing.Color.Blue; - this.Button13.Location = new System.Drawing.Point(162, 172); + this.Button13.Location = new System.Drawing.Point(143, 139); this.Button13.Name = "Button13"; - this.Button13.Size = new System.Drawing.Size(38, 30); + this.Button13.Size = new System.Drawing.Size(36, 28); this.Button13.TabIndex = 68; this.Button13.Text = "6"; this.Button13.UseVisualStyleBackColor = true; @@ -396,11 +420,12 @@ // Button5 // this.Button5.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button5.ForeColor = System.Drawing.Color.Blue; - this.Button5.Location = new System.Drawing.Point(74, 136); + this.Button5.Location = new System.Drawing.Point(63, 105); this.Button5.Name = "Button5"; - this.Button5.Size = new System.Drawing.Size(38, 30); + this.Button5.Size = new System.Drawing.Size(36, 28); this.Button5.TabIndex = 64; this.Button5.Text = "7"; this.Button5.UseVisualStyleBackColor = true; @@ -409,11 +434,12 @@ // Button14 // this.Button14.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button14.ForeColor = System.Drawing.Color.Blue; - this.Button14.Location = new System.Drawing.Point(162, 243); + this.Button14.Location = new System.Drawing.Point(143, 207); this.Button14.Name = "Button14"; - this.Button14.Size = new System.Drawing.Size(38, 30); + this.Button14.Size = new System.Drawing.Size(36, 28); this.Button14.TabIndex = 73; this.Button14.Text = "."; this.Button14.UseVisualStyleBackColor = true; @@ -422,11 +448,12 @@ // Button18 // this.Button18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button18.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button18.ForeColor = System.Drawing.Color.Red; - this.Button18.Location = new System.Drawing.Point(208, 136); + this.Button18.Location = new System.Drawing.Point(183, 105); this.Button18.Name = "Button18"; - this.Button18.Size = new System.Drawing.Size(38, 30); + this.Button18.Size = new System.Drawing.Size(36, 28); this.Button18.TabIndex = 76; this.Button18.Text = "/"; this.Button18.UseVisualStyleBackColor = true; @@ -435,11 +462,12 @@ // Button8 // this.Button8.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button8.ForeColor = System.Drawing.Color.Blue; - this.Button8.Location = new System.Drawing.Point(118, 136); + this.Button8.Location = new System.Drawing.Point(103, 105); this.Button8.Name = "Button8"; - this.Button8.Size = new System.Drawing.Size(38, 30); + this.Button8.Size = new System.Drawing.Size(36, 28); this.Button8.TabIndex = 67; this.Button8.Text = "8"; this.Button8.UseVisualStyleBackColor = true; @@ -448,11 +476,12 @@ // Button10 // this.Button10.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button10.ForeColor = System.Drawing.Color.Blue; - this.Button10.Location = new System.Drawing.Point(118, 172); + this.Button10.Location = new System.Drawing.Point(103, 139); this.Button10.Name = "Button10"; - this.Button10.Size = new System.Drawing.Size(38, 30); + this.Button10.Size = new System.Drawing.Size(36, 28); this.Button10.TabIndex = 65; this.Button10.Text = "5"; this.Button10.UseVisualStyleBackColor = true; @@ -461,11 +490,12 @@ // Button20 // this.Button20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button20.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button20.ForeColor = System.Drawing.Color.Red; - this.Button20.Location = new System.Drawing.Point(208, 172); + this.Button20.Location = new System.Drawing.Point(183, 139); this.Button20.Name = "Button20"; - this.Button20.Size = new System.Drawing.Size(38, 30); + this.Button20.Size = new System.Drawing.Size(36, 28); this.Button20.TabIndex = 74; this.Button20.Text = "*"; this.Button20.UseVisualStyleBackColor = true; @@ -474,11 +504,12 @@ // Button19 // this.Button19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button19.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button19.ForeColor = System.Drawing.Color.Red; - this.Button19.Location = new System.Drawing.Point(208, 208); + this.Button19.Location = new System.Drawing.Point(183, 173); this.Button19.Name = "Button19"; - this.Button19.Size = new System.Drawing.Size(38, 30); + this.Button19.Size = new System.Drawing.Size(36, 28); this.Button19.TabIndex = 75; this.Button19.Text = "-"; this.Button19.UseVisualStyleBackColor = true; @@ -487,11 +518,12 @@ // Button9 // this.Button9.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button9.ForeColor = System.Drawing.Color.Blue; - this.Button9.Location = new System.Drawing.Point(118, 208); + this.Button9.Location = new System.Drawing.Point(103, 173); this.Button9.Name = "Button9"; - this.Button9.Size = new System.Drawing.Size(38, 30); + this.Button9.Size = new System.Drawing.Size(36, 28); this.Button9.TabIndex = 66; this.Button9.Text = "2"; this.Button9.UseVisualStyleBackColor = true; @@ -500,20 +532,33 @@ // MenuStrip2 // this.MenuStrip2.BackColor = System.Drawing.Color.Silver; + this.MenuStrip2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.EditToolStripMenuItem1, this.HelpToolStripMenuItem2, this.HelpToolStripMenuItem3}); this.MenuStrip2.Location = new System.Drawing.Point(0, 0); this.MenuStrip2.Name = "MenuStrip2"; - this.MenuStrip2.Size = new System.Drawing.Size(308, 24); + this.MenuStrip2.Size = new System.Drawing.Size(270, 24); this.MenuStrip2.TabIndex = 86; this.MenuStrip2.Text = "MenuStrip2"; // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox1.Location = new System.Drawing.Point(1, 24); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(268, 2); + this.pictureBox1.TabIndex = 87; + this.pictureBox1.TabStop = false; + // // WinClassicCalculator // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Silver; + this.Controls.Add(this.pictureBox1); this.Controls.Add(this.txtNumbers); this.Controls.Add(this.Button27); this.Controls.Add(this.Button26); @@ -544,10 +589,11 @@ this.Controls.Add(this.Button9); this.Controls.Add(this.MenuStrip2); this.Name = "WinClassicCalculator"; - this.Size = new System.Drawing.Size(308, 276); + this.Size = new System.Drawing.Size(270, 247); this.Load += new System.EventHandler(this.WinClassicCalculator_Load); this.MenuStrip2.ResumeLayout(false); this.MenuStrip2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -593,5 +639,6 @@ internal System.Windows.Forms.Button Button19; internal System.Windows.Forms.Button Button9; internal System.Windows.Forms.MenuStrip MenuStrip2; + private System.Windows.Forms.PictureBox pictureBox1; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs index 14111c1..9e923bb 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs @@ -16,6 +16,19 @@ namespace TimeHACK.OS.Win95.Win95Apps public WinClassicCalculator() { InitializeComponent(); + foreach (Control c in Controls) + { + if (c is Button) + { + c.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, ((byte)(0))); + c.Paint += (sender, args) => Paintbrush.PaintClassicBorders(sender, args, 2); + } + else + { + c.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); + } + } + txtNumbers.Paint += (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 2); } public double prevnum = 0; public bool iszero = true; @@ -180,6 +193,10 @@ namespace TimeHACK.OS.Win95.Win95Apps switch (coperator) { case "+": + if (prevnum == 0) + { + break; + } txtNumbers.Text = (prevnum + double.Parse(txtNumbers.Text)).ToString(); prevnum = double.Parse(txtNumbers.Text); break; @@ -221,7 +238,7 @@ namespace TimeHACK.OS.Win95.Win95Apps coperator = "+"; Calculate(); prevnum = double.Parse(txtNumbers.Text); - txtNumbers.Text = "0"; + iszero = true; } private void Button19_Click(object sender, EventArgs e) diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs index 57fa683..e2c8d64 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs @@ -26,6 +26,7 @@ namespace TimeHACK.OS.Win95 { lblCountDown.Visible = true; btnGo.Enabled = false; + ((WinClassic)ParentForm).closeDisabled = true; _action?.Invoke(); countDownTimer.Start(); diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index 65971a2..ee5c4c5 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -325,6 +325,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ie4about { + get { + object obj = ResourceManager.GetObject("ie4about", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index 7fd3bd8..cf2df35 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -522,7 +522,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vwAADr8BOAVTJAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ + vgAADr4B6kKxwAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu QmCC @@ -651,4 +651,7 @@ ..\Resources\ie4_hsplitter2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\IE4\ie4about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/ie4about.png b/TimeHACK.Main/Resources/IE4/ie4about.png new file mode 100644 index 0000000..c76c16c Binary files /dev/null and b/TimeHACK.Main/Resources/IE4/ie4about.png differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index ce7407e..b0ac5d0 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -471,6 +471,7 @@ + -- cgit v1.2.3 From c579cf249977c9aa6abef79ef39c6d28960fea6c Mon Sep 17 00:00:00 2001 From: lempamo Date: Fri, 14 Jul 2017 09:43:33 -0500 Subject: Removed hwcv --- TimeHACK.Main/OS/Win95/Win95.cs | 2 +- TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs | 16 +- .../OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs | 195 --------------------- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs | 36 ---- .../OS/Win95/Win95Apps/WinClassicHWCV.resx | 128 -------------- TimeHACK.Main/TimeHACK.Main.csproj | 9 - 6 files changed, 2 insertions(+), 384 deletions(-) delete mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs delete mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs delete mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index d681c58..3c44b54 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -430,7 +430,7 @@ namespace TimeHACK.OS.Win95 private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) { - distort = new WinClassicTimeDistorter("1998", "1999", 170, Hack2.StartObjective); + distort = new WinClassicTimeDistorter("1998", "1999", 150, Hack2.StartObjective); WinClassic app = wm.StartWin95(distort, "Time Distorter", null, false, true); AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); app.BringToFront(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs index 26cd4d1..7d05dba 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs @@ -22,27 +22,13 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story await Task.Delay(2000); Console.WriteLine("12padams> WHAT DO YOU THINK YOU'RE DOING??"); await Task.Delay(3000); - Console.WriteLine("12padams> First you hack my FTP server and download hwcv.exe.."); + Console.WriteLine("12padams> First you hack my FTP server.."); await Task.Delay(4500); - Console.WriteLine("12padams> And use it to hack my website.."); - await Task.Delay(3500); Console.WriteLine("12padams> Then you download my secret Time Distorter program?"); await Task.Delay(4000); Console.WriteLine("12padams> Oh, and I know you activated it."); await Task.Delay(4000); Console.WriteLine("12padams> I can see your screen right now.."); - await Task.Delay(4000); - Console.WriteLine("12padams> And I will prove it to you."); - await Task.Delay(4000); - Console.WriteLine("12padams> That countdown will be at 130 seconds.."); - await Task.Delay(4000); - Console.WriteLine("12padams> Right."); - await Task.Delay(1000); - Console.WriteLine("12padams> About."); - await Task.Delay(1000); - Console.WriteLine("12padams> Now."); - await Task.Delay(1000); - Console.WriteLine("12padams> See?"); await Task.Delay(5000); Console.WriteLine("12padams> Now, in about 2 minutes you think you're going to be able to travel to 1999."); await Task.Delay(3500); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs deleted file mode 100644 index 5475040..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs +++ /dev/null @@ -1,195 +0,0 @@ -namespace TimeHACK.OS.Win95.Win95Apps -{ - partial class WinClassicHWCV - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicHWCV)); - this.program = new System.Windows.Forms.Panel(); - this.Panel2 = new System.Windows.Forms.Panel(); - this.Label3 = new System.Windows.Forms.Label(); - this.Button1 = new System.Windows.Forms.Button(); - this.TextBox2 = new System.Windows.Forms.TextBox(); - this.TextBox1 = new System.Windows.Forms.TextBox(); - this.toprightcorner = new System.Windows.Forms.Panel(); - this.bottomrightcorner = new System.Windows.Forms.Panel(); - this.bottomleftcorner = new System.Windows.Forms.Panel(); - this.topleftcorner = new System.Windows.Forms.Panel(); - this.PictureBox1 = new System.Windows.Forms.PictureBox(); - this.program.SuspendLayout(); - this.Panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // program - // - this.program.BackColor = System.Drawing.Color.Silver; - this.program.Controls.Add(this.PictureBox1); - this.program.Controls.Add(this.Panel2); - this.program.Controls.Add(this.toprightcorner); - this.program.Controls.Add(this.bottomrightcorner); - this.program.Controls.Add(this.bottomleftcorner); - this.program.Controls.Add(this.topleftcorner); - this.program.Dock = System.Windows.Forms.DockStyle.Fill; - this.program.Location = new System.Drawing.Point(0, 0); - this.program.Name = "program"; - this.program.Size = new System.Drawing.Size(361, 324); - this.program.TabIndex = 11; - // - // Panel2 - // - this.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.Panel2.Controls.Add(this.Label3); - this.Panel2.Controls.Add(this.Button1); - this.Panel2.Controls.Add(this.TextBox2); - this.Panel2.Controls.Add(this.TextBox1); - this.Panel2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.Panel2.Location = new System.Drawing.Point(0, 135); - this.Panel2.Name = "Panel2"; - this.Panel2.Size = new System.Drawing.Size(361, 189); - this.Panel2.TabIndex = 9; - // - // Label3 - // - this.Label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.Label3.AutoSize = true; - this.Label3.Location = new System.Drawing.Point(7, 168); - this.Label3.Name = "Label3"; - this.Label3.Size = new System.Drawing.Size(148, 13); - this.Label3.TabIndex = 3; - this.Label3.Text = "Label3"; - this.Label3.Visible = false; - // - // Button1 - // - this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button1.Location = new System.Drawing.Point(278, 145); - this.Button1.Name = "Button1"; - this.Button1.Size = new System.Drawing.Size(75, 20); - this.Button1.TabIndex = 2; - this.Button1.Text = "Display"; - this.Button1.UseVisualStyleBackColor = true; - this.Button1.Click += new System.EventHandler(this.Button1_Click); - // - // TextBox2 - // - this.TextBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.TextBox2.Location = new System.Drawing.Point(12, 144); - this.TextBox2.Name = "TextBox2"; - this.TextBox2.Size = new System.Drawing.Size(226, 20); - this.TextBox2.TabIndex = 1; - // - // TextBox1 - // - this.TextBox1.Anchor = System.Windows.Forms.AnchorStyles.None; - this.TextBox1.BackColor = System.Drawing.Color.Silver; - this.TextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.TextBox1.Location = new System.Drawing.Point(22, 4); - this.TextBox1.Multiline = true; - this.TextBox1.Name = "TextBox1"; - this.TextBox1.ReadOnly = true; - this.TextBox1.Size = new System.Drawing.Size(321, 137); - this.TextBox1.TabIndex = 0; - this.TextBox1.Text = resources.GetString("TextBox1.Text"); - this.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // toprightcorner - // - this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toprightcorner.Location = new System.Drawing.Point(357, 0); - this.toprightcorner.Name = "toprightcorner"; - this.toprightcorner.Size = new System.Drawing.Size(4, 4); - this.toprightcorner.TabIndex = 6; - // - // bottomrightcorner - // - this.bottomrightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE; - this.bottomrightcorner.Location = new System.Drawing.Point(357, 320); - this.bottomrightcorner.Name = "bottomrightcorner"; - this.bottomrightcorner.Size = new System.Drawing.Size(4, 4); - this.bottomrightcorner.TabIndex = 4; - // - // bottomleftcorner - // - this.bottomleftcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bottomleftcorner.Location = new System.Drawing.Point(0, 320); - this.bottomleftcorner.Name = "bottomleftcorner"; - this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); - this.bottomleftcorner.TabIndex = 2; - // - // topleftcorner - // - this.topleftcorner.Location = new System.Drawing.Point(0, 0); - this.topleftcorner.Name = "topleftcorner"; - this.topleftcorner.Size = new System.Drawing.Size(4, 4); - this.topleftcorner.TabIndex = 1; - // - // PictureBox1 - // - this.PictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.PictureBox1.Image = global::TimeHACK.Properties.Resources.WinClassicHWCV; - this.PictureBox1.Location = new System.Drawing.Point(5, 24); - this.PictureBox1.Name = "PictureBox1"; - this.PictureBox1.Size = new System.Drawing.Size(351, 107); - this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.PictureBox1.TabIndex = 0; - this.PictureBox1.TabStop = false; - // - // WinClassicHWCV - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.program); - this.Name = "WinClassicHWCV"; - this.Size = new System.Drawing.Size(361, 324); - this.program.ResumeLayout(false); - this.Panel2.ResumeLayout(false); - this.Panel2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - internal System.Windows.Forms.Panel program; - internal System.Windows.Forms.PictureBox PictureBox1; - internal System.Windows.Forms.Panel Panel2; - internal System.Windows.Forms.Label Label3; - internal System.Windows.Forms.Button Button1; - internal System.Windows.Forms.TextBox TextBox2; - internal System.Windows.Forms.TextBox TextBox1; - internal System.Windows.Forms.Panel toprightcorner; - internal System.Windows.Forms.Panel bottomrightcorner; - internal System.Windows.Forms.Panel bottomleftcorner; - internal System.Windows.Forms.Panel topleftcorner; - } -} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs deleted file mode 100644 index c1a203a..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace TimeHACK.OS.Win95.Win95Apps -{ - public partial class WinClassicHWCV : UserControl - { - public WinClassicHWCV() - { - InitializeComponent(); - Button1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); - } - - private void Button1_Click(object sender, EventArgs e) - { - if (TextBox1.Text == "www.12padams.com" || TextBox1.Text == "http://www.12padams.com/") - { - Label3.Show(); - Label3.Text = "Hidden Content Found: Time Distorter"; - TitleScreen.frm95.hiddenpadamsFound = true; - } - else - { - Label3.Show(); - Label3.Text = "No Content Found"; - } - } - } -} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx deleted file mode 100644 index 1d196e9..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - This program is a hacking tool which is able to view hidden content on websites. - -To view hidden content just type the URL of the website in the box below and this will enable you to see all the hidden features on a website. - -WARNING: This only displays hidden content which can not be accessed in anyway without this software. - - - \ No newline at end of file diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index b0ac5d0..d1e8db5 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -279,12 +279,6 @@ WinClassicDownloader.cs - - UserControl - - - WinClassicHWCV.cs - UserControl @@ -413,9 +407,6 @@ WinClassicDownloader.cs - - WinClassicHWCV.cs - WinClassicIE4.cs -- cgit v1.2.3 From 608bf336dbb035c4e78ab448f8a4c96ec80146ce Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 19 Jul 2017 21:32:16 -0400 Subject: fix exe to credit all of us --- TimeHACK.Main/Icon128x.ico | Bin 0 -> 99678 bytes TimeHACK.Main/Properties/AssemblyInfo.cs | 8 ++++---- TimeHACK.Main/TimeHACK.Main.csproj | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 TimeHACK.Main/Icon128x.ico (limited to 'TimeHACK.Main/TimeHACK.Main.csproj') diff --git a/TimeHACK.Main/Icon128x.ico b/TimeHACK.Main/Icon128x.ico new file mode 100644 index 0000000..ceb4cff Binary files /dev/null and b/TimeHACK.Main/Icon128x.ico differ diff --git a/TimeHACK.Main/Properties/AssemblyInfo.cs b/TimeHACK.Main/Properties/AssemblyInfo.cs index 0340466..024f418 100644 --- a/TimeHACK.Main/Properties/AssemblyInfo.cs +++ b/TimeHACK.Main/Properties/AssemblyInfo.cs @@ -9,9 +9,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("TimeHACK")] [assembly: AssemblyDescription("Revival of the original hacking simulator!")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AShifter")] +[assembly: AssemblyCompany("TimeHACKDevs")] [assembly: AssemblyProduct("TimeHACK")] -[assembly: AssemblyCopyright("Copyright © AShifter 2017")] +[assembly: AssemblyCopyright("Copyright © TimeHACKDevs 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -33,7 +33,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.3.0")] +[assembly: AssemblyFileVersion("1.0.3.0")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index d1e8db5..9e02828 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -91,8 +91,7 @@ false - - + Icon128x.ico false @@ -455,6 +454,7 @@ + -- cgit v1.2.3