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) --- .../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 +++++++++ 6 files changed, 659 insertions(+) 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 (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites') 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 -- cgit v1.2.3