html ie revamp works!

This commit is contained in:
lempamo 2017-04-27 18:22:10 -04:00
parent e21ca9fd83
commit fdc90e45f7
27 changed files with 120 additions and 35 deletions

View file

@ -28,7 +28,7 @@ protected override void Dispose(bool disposing)
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicIE4));
this.resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicIE4));
this.program = new System.Windows.Forms.Panel();
this.browsingarea = new System.Windows.Forms.Panel();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
@ -365,6 +365,7 @@ private void InitializeComponent()
//
this.program.BackColor = System.Drawing.Color.Silver;
this.program.Controls.Add(this.browsingarea);
this.program.Controls.Add(this.webBrowser1);
this.program.Controls.Add(this.Panel14);
this.program.Controls.Add(this.Panel1);
this.program.Controls.Add(this.PictureBox1);
@ -378,7 +379,6 @@ private void InitializeComponent()
// browsingarea
//
this.browsingarea.BackColor = System.Drawing.Color.White;
this.browsingarea.Controls.Add(this.webBrowser1);
this.browsingarea.Controls.Add(this.padamsmain);
this.browsingarea.Controls.Add(this.padamsbackgrounds);
this.browsingarea.Controls.Add(this.hotmailmain);
@ -395,15 +395,15 @@ private void InitializeComponent()
this.browsingarea.Name = "browsingarea";
this.browsingarea.Size = new System.Drawing.Size(959, 483);
this.browsingarea.TabIndex = 9;
this.browsingarea.Visible = false;
//
// webBrowser1
//
this.webBrowser1.Location = new System.Drawing.Point(578, 206);
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
this.webBrowser1.Location = new System.Drawing.Point(0, 111);
this.webBrowser1.Name = "webBrowser1";
this.webBrowser1.Size = new System.Drawing.Size(62, 47);
this.webBrowser1.Size = new System.Drawing.Size(959, 483);
this.webBrowser1.TabIndex = 11;
this.webBrowser1.Url = new System.Uri("http://www.google.com", System.UriKind.Absolute);
//
// padamsmain
//
@ -631,7 +631,6 @@ private void InitializeComponent()
this.WCDownloadButton.TabIndex = 6;
this.WCDownloadButton.Text = "Download";
this.WCDownloadButton.UseVisualStyleBackColor = false;
this.WCDownloadButton.Click += new System.EventHandler(this.WCDownloadButton_Click);
//
// Label43
//
@ -3559,6 +3558,7 @@ private void InitializeComponent()
internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem93;
internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem94;
internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem95;
private System.Windows.Forms.WebBrowser webBrowser1;
internal System.Windows.Forms.WebBrowser webBrowser1;
internal System.ComponentModel.ComponentResourceManager resources;
}
}

View file

@ -13,6 +13,8 @@ public partial class WinClassicIE4 : UserControl
public List<string> browsinghistory = new List<string>();
public int historylocation = 0;
public HtmlDocument currentsite;
public WinClassicIE4()
{
InitializeComponent();
@ -24,8 +26,9 @@ private void WinClassicIE4_Load(object sender, EventArgs e)
hidePrograms();
browsinghistory.Add("www.microsoft.com/internetexplorer4/welcome");
for (int i = 0; i < 99; i++) browsinghistory.Add(null);
welcomeinternetscreen.Show();
welcomeinternetscreen.Dock = DockStyle.Fill;
webBrowser1.DocumentText = ((string)resources.GetObject("ie4start"));
webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(LinkLabel16_LinkClicked);
webBrowser1.Show();
foreach (ToolStripMenuItem item in MenuStrip3.Items) item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0)));
foreach (Control ctrl in Panel1.Controls) ctrl.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0)));
}
@ -54,7 +57,7 @@ private void LinkLabel15_LinkClicked(object sender, LinkLabelLinkClickedEventArg
goToSite("www.google.com", false);
}
private void LinkLabel16_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
private void LinkLabel16_LinkClicked(object sender, HtmlElementEventArgs e)
{
goToSite("www.12padams.com", false);
}
@ -112,13 +115,13 @@ private void goToSite(string url, bool back)
break;
case "www.12padams.com":
hidePrograms();
padamsmain.Dock = DockStyle.Fill;
padamsmain.Show();
webBrowser1.Url = new Uri(@"pack://application:,,,/Resources/IE4/padams.html", UriKind.RelativeOrAbsolute);
currentsite = webBrowser1.Document;
currentsite.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click);
break;
case "www.microsoft.com/internetexplorer4/welcome":
hidePrograms();
welcomeinternetscreen.Dock = DockStyle.Fill;
welcomeinternetscreen.Show();
webBrowser1.Url = new Uri(@"pack://application:,,,/Resources/IE4/ie4start.html", UriKind.RelativeOrAbsolute);
break;
case "www.???.com":
hidePrograms();
@ -152,7 +155,7 @@ private void goToSite(string url, bool back)
}
addressbar.Text = url;
currentsite = webBrowser1.Document;
}
private void BackButton_Click(object sender, EventArgs e)
@ -174,7 +177,7 @@ private void HomeButton_Click(object sender, EventArgs e)
goToSite("www.microsoft.com/internetexplorer4/welcome", false);
}
private void WCDownloadButton_Click(object sender, EventArgs e)
private void WCDownloadButton_Click(object sender, HtmlElementEventArgs e)
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();

View file

@ -7,14 +7,14 @@
<framework targetVersion="4.5.2" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="TimeHACK.exe.manifest" size="20452">
<dependentAssembly dependencyType="install" codebase="TimeHACK.exe.manifest" size="21659">
<assemblyIdentity name="TimeHACK.exe" version="1.0.1.0" publicKeyToken="0000000000000000" language="en" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NApKC0uf7Yla7de7IxlZ+wQ7cz1/m45tZGSBKqZjih4=</dsig:DigestValue>
<dsig:DigestValue>1bSn6m+UAB9a5idZFA+StOqN0kRMurjPRo339G9JQGo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View file

@ -56,26 +56,26 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6130176">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6233088">
<assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>lFCb2hIl5JTOBA1PRZiCbgdPM9CK13/xjettDSAoDnM=</dsig:DigestValue>
<dsig:DigestValue>qsK1qfjuvXPNGaP+f3vgCTIamWHQKEpuzvRtw2QscVY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.Engine.dll" size="165376">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.Engine.dll" size="159232">
<assemblyIdentity name="TimeHACK.Engine" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>LKQU2cwh9IRocm3cFUlsDcYnOkOXvYVjiSsW3t6ByXc=</dsig:DigestValue>
<dsig:DigestValue>cZQgpzpfSWlj7U7scJhDCNXGFbIB7vNI/XyT6QxfgYs=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@ -97,6 +97,33 @@
<dsig:DigestValue>nzG7pg3H+3uPdr/lzLxyroAH8XD1zvIYW4peV9fAD6M=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\IE4\ie4start.html" size="980">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>Sf4jcnpqMm+8SKOCp6p1gJdzo9VpBKwFezayuSmHm+Q=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\IE4\padams.html" size="1942">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>AGImdIeEP/E84lMW4mWw3wu/UigLZNCncZeFDsxs1IQ=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\ie4start.html" size="956">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>98XY8u0SJyERQAAYM79J7GuF2ASvy6Am/ezeExr25DA=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\TitleScreen\Exit.png" size="138932">
<hash>
<dsig:Transforms>

View file

@ -7,14 +7,14 @@
<framework targetVersion="4.5.2" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="TimeHACK.exe.manifest" size="20452">
<dependentAssembly dependencyType="install" codebase="TimeHACK.exe.manifest" size="21659">
<assemblyIdentity name="TimeHACK.exe" version="1.0.1.0" publicKeyToken="0000000000000000" language="en" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NApKC0uf7Yla7de7IxlZ+wQ7cz1/m45tZGSBKqZjih4=</dsig:DigestValue>
<dsig:DigestValue>1bSn6m+UAB9a5idZFA+StOqN0kRMurjPRo339G9JQGo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View file

@ -56,26 +56,26 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6130176">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6233088">
<assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>lFCb2hIl5JTOBA1PRZiCbgdPM9CK13/xjettDSAoDnM=</dsig:DigestValue>
<dsig:DigestValue>qsK1qfjuvXPNGaP+f3vgCTIamWHQKEpuzvRtw2QscVY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.Engine.dll" size="165376">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.Engine.dll" size="159232">
<assemblyIdentity name="TimeHACK.Engine" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>LKQU2cwh9IRocm3cFUlsDcYnOkOXvYVjiSsW3t6ByXc=</dsig:DigestValue>
<dsig:DigestValue>cZQgpzpfSWlj7U7scJhDCNXGFbIB7vNI/XyT6QxfgYs=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@ -97,6 +97,33 @@
<dsig:DigestValue>nzG7pg3H+3uPdr/lzLxyroAH8XD1zvIYW4peV9fAD6M=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\IE4\ie4start.html" size="980">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>Sf4jcnpqMm+8SKOCp6p1gJdzo9VpBKwFezayuSmHm+Q=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\IE4\padams.html" size="1942">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>AGImdIeEP/E84lMW4mWw3wu/UigLZNCncZeFDsxs1IQ=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\ie4start.html" size="956">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>98XY8u0SJyERQAAYM79J7GuF2ASvy6Am/ezeExr25DA=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\TitleScreen\Exit.png" size="138932">
<hash>
<dsig:Transforms>

View file

@ -38,3 +38,4 @@ C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicDownloader.resources
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.Win95Notepad.resources
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicHWCV.resources

View file

@ -7,14 +7,14 @@
<framework targetVersion="4.5.2" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="TimeHACK.exe.manifest" size="20452">
<dependentAssembly dependencyType="install" codebase="TimeHACK.exe.manifest" size="21659">
<assemblyIdentity name="TimeHACK.exe" version="1.0.1.0" publicKeyToken="0000000000000000" language="en" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NApKC0uf7Yla7de7IxlZ+wQ7cz1/m45tZGSBKqZjih4=</dsig:DigestValue>
<dsig:DigestValue>1bSn6m+UAB9a5idZFA+StOqN0kRMurjPRo339G9JQGo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View file

@ -56,26 +56,26 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6130176">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6233088">
<assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>lFCb2hIl5JTOBA1PRZiCbgdPM9CK13/xjettDSAoDnM=</dsig:DigestValue>
<dsig:DigestValue>qsK1qfjuvXPNGaP+f3vgCTIamWHQKEpuzvRtw2QscVY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.Engine.dll" size="165376">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.Engine.dll" size="159232">
<assemblyIdentity name="TimeHACK.Engine" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>LKQU2cwh9IRocm3cFUlsDcYnOkOXvYVjiSsW3t6ByXc=</dsig:DigestValue>
<dsig:DigestValue>cZQgpzpfSWlj7U7scJhDCNXGFbIB7vNI/XyT6QxfgYs=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@ -97,6 +97,33 @@
<dsig:DigestValue>nzG7pg3H+3uPdr/lzLxyroAH8XD1zvIYW4peV9fAD6M=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\IE4\ie4start.html" size="980">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>Sf4jcnpqMm+8SKOCp6p1gJdzo9VpBKwFezayuSmHm+Q=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\IE4\padams.html" size="1942">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>AGImdIeEP/E84lMW4mWw3wu/UigLZNCncZeFDsxs1IQ=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\ie4start.html" size="956">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>98XY8u0SJyERQAAYM79J7GuF2ASvy6Am/ezeExr25DA=</dsig:DigestValue>
</hash>
</file>
<file name="Resources\TitleScreen\Exit.png" size="138932">
<hash>
<dsig:Transforms>