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 + 5 files changed, 327 insertions(+) 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 (limited to 'TimeHACK.Main/OS') 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; -- cgit v1.2.3