From bcd89d808b9fdcb7746d4705c09afde3091b8eef Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 27 Apr 2017 15:55:40 -0400 Subject: gettin started with sites --- TimeHACK.Main/Resources/IE4/ie4start.html | 38 +++++++++++++++++++++++++++++++ TimeHACK.Main/Resources/IE4/padams.html | 31 +++++++++++++++++++++++++ TimeHACK.Main/Resources/ie4start.html | 38 +++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 TimeHACK.Main/Resources/IE4/ie4start.html create mode 100644 TimeHACK.Main/Resources/IE4/padams.html create mode 100644 TimeHACK.Main/Resources/ie4start.html (limited to 'TimeHACK.Main/Resources') diff --git a/TimeHACK.Main/Resources/IE4/ie4start.html b/TimeHACK.Main/Resources/IE4/ie4start.html new file mode 100644 index 0000000..6a0f5d4 --- /dev/null +++ b/TimeHACK.Main/Resources/IE4/ie4start.html @@ -0,0 +1,38 @@ + + + + + +

Welcome to Internet Explorer 4

+

Welcome To Internet Explorer 4.
+Internet Explorer 4 makes browsing the web and exploring websites a pleasant experience.
+Just type an address in the location bar above and then press go.
+Instantly you will be taken to the webpage of your choosing.
+Where do you want to go today?

+

Here are some sites you may want to visit.

+ www.google.com
+ www.12padams.com +

Where do you want to go today?

+ + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/padams.html b/TimeHACK.Main/Resources/IE4/padams.html new file mode 100644 index 0000000..7be54f9 --- /dev/null +++ b/TimeHACK.Main/Resources/IE4/padams.html @@ -0,0 +1,31 @@ + + + + + +

Welcome to the Official 12padams website!!!

+

The best customizations for your windows 95 computer

+
+

Games/Software

+
+ + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/ie4start.html b/TimeHACK.Main/Resources/ie4start.html new file mode 100644 index 0000000..927072d --- /dev/null +++ b/TimeHACK.Main/Resources/ie4start.html @@ -0,0 +1,38 @@ + + + + + +

Welcome to Internet Explorer 4

+

Welcome To Internet Explorer 4.
+Internet Explorer 4 makes browsing the web and exploring websites a pleasant experience.
+Just type an address in the location bar above and then press go.
+Instantly you will be taken to the webpage of your choosing.
+Where do you want to go today?

+

Here are some sites you may want to visit.

+ www.google.com
+ www.12padams.com +

Where do you want to go today?

+ + \ No newline at end of file -- cgit v1.2.3 From e21ca9fd83e951edc98e5f8c00516db42a74914a Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 27 Apr 2017 16:54:28 -0400 Subject: 12padams homepage --- .vs/TimeHACK/v14/.suo | Bin 99328 -> 105472 bytes .../OS/Win95/Win95Apps/WinClassicIE4.resx | 3 ++ TimeHACK.Main/Resources/IE4/padams.html | 50 ++++++++++++++++++--- TimeHACK.Main/TimeHACK.Main.csproj | 13 ++++++ .../DesignTimeResolveAssemblyReferencesInput.cache | Bin 13026 -> 13116 bytes 5 files changed, 61 insertions(+), 5 deletions(-) (limited to 'TimeHACK.Main/Resources') diff --git a/.vs/TimeHACK/v14/.suo b/.vs/TimeHACK/v14/.suo index 38c599a..58a53c9 100644 Binary files a/.vs/TimeHACK/v14/.suo and b/.vs/TimeHACK/v14/.suo differ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx index 967d7b1..d1ae5fd 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx @@ -199,4 +199,7 @@ So Please enjoy Using this amzing software and show the world what your made of. ..\..\..\resources\ie4\ie4start.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + ..\..\..\resources\ie4\padams.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/padams.html b/TimeHACK.Main/Resources/IE4/padams.html index 7be54f9..83ade49 100644 --- a/TimeHACK.Main/Resources/IE4/padams.html +++ b/TimeHACK.Main/Resources/IE4/padams.html @@ -14,18 +14,58 @@ margin-top: 0; margin-bottom: 25px; } - div { + td div { + display: inline-block; border: 1px solid black; - width: 205px; + width: 215px; height: 305px; + margin: 0 3px 0 3px; + text-align: center; + } + h1#copyright { + font-size: 9pt; + } + p.app { + margin-top: 30px; + } + p.app button { + float: right; + background-color: silver; + border-color: gray black black gray; + margin-right: 2px; + } + a { + font-size: 9.25pt; }

Welcome to the Official 12padams website!!!

The best customizations for your windows 95 computer

-
-

Games/Software

-
+ + + + + + + +
+

Games/Software

+

Guess the Number V1

+

Web Chat 1998

+

Time Distorter 0.1

+
+

Customizations

+

Backgrounds

+

Skindows 95

+
+

Example Viruses

+

Start Runner 95

+

Error Blaster 95

+
+

WebSites

+ www.hotmail.com +
+

Copyright 1998 12padams

\ No newline at end of file diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 654f278..fd33b37 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -149,6 +149,12 @@ WinClassicDownloader.cs + + UserControl + + + WinClassicHWCV.cs + UserControl @@ -189,6 +195,9 @@ WinClassicDownloader.cs + + WinClassicHWCV.cs + WinClassicIE4.cs @@ -229,6 +238,9 @@ + + + @@ -262,6 +274,7 @@ + diff --git a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache index 7732100..0dadb6f 100644 Binary files a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ -- cgit v1.2.3 From 5cc3fdda9a2e219f21803bf5dedd810ec572fec7 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 27 Apr 2017 21:59:41 -0400 Subject: now with improved 12padams.com! --- .vs/TimeHACK/v14/.suo | Bin 105472 -> 112128 bytes .../OS/Win95/Win95Apps/WinClassicIE4.Designer.cs | 2 +- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs | 26 +++-- .../OS/Win95/Win95Apps/WinClassicIE4.resx | 114 +++++++++++++++++++++ TimeHACK.Main/Resources/IE4/padams.html | 1 + TimeHACK.Main/bin/Release/TimeHACK.application | 2 +- TimeHACK.Main/bin/Release/TimeHACK.exe | Bin 6233088 -> 6236160 bytes TimeHACK.Main/bin/Release/TimeHACK.exe.manifest | 8 +- TimeHACK.Main/bin/Release/TimeHACK.pdb | Bin 142848 -> 142848 bytes .../bin/Release/TimeHACK.vshost.application | 2 +- .../bin/Release/TimeHACK.vshost.exe.manifest | 8 +- TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe | Bin 6233088 -> 6236160 bytes .../TimeHACK.Main.csproj.GenerateResource.Cache | Bin 4932 -> 4932 bytes ...HACK.OS.Win95.Win95Apps.WinClassicIE4.resources | Bin 6510 -> 9548 bytes TimeHACK.Main/obj/Release/TimeHACK.application | 2 +- TimeHACK.Main/obj/Release/TimeHACK.exe | Bin 6233088 -> 6236160 bytes TimeHACK.Main/obj/Release/TimeHACK.exe.manifest | 8 +- TimeHACK.Main/obj/Release/TimeHACK.pdb | Bin 142848 -> 142848 bytes 18 files changed, 149 insertions(+), 24 deletions(-) (limited to 'TimeHACK.Main/Resources') diff --git a/.vs/TimeHACK/v14/.suo b/.vs/TimeHACK/v14/.suo index 58a53c9..05bca1a 100644 Binary files a/.vs/TimeHACK/v14/.suo and b/.vs/TimeHACK/v14/.suo differ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs index 84b8661..ce6e648 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs @@ -404,6 +404,7 @@ this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new System.Drawing.Size(959, 483); this.webBrowser1.TabIndex = 11; + this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted); // // padamsmain // @@ -1140,7 +1141,6 @@ this.LinkLabel16.TabStop = true; this.LinkLabel16.Text = "www.12padams.com"; this.LinkLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.LinkLabel16.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel16_LinkClicked); // // LinkLabel15 // diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs index cda8f94..2313ded 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs @@ -26,8 +26,7 @@ namespace TimeHACK.OS.Win95.Win95Apps hidePrograms(); browsinghistory.Add("www.microsoft.com/internetexplorer4/welcome"); for (int i = 0; i < 99; i++) browsinghistory.Add(null); - webBrowser1.DocumentText = ((string)resources.GetObject("ie4start")); - webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(LinkLabel16_LinkClicked); + webBrowser1.DocumentText = resources.GetString("ie4start_HTML"); 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))); @@ -49,7 +48,6 @@ namespace TimeHACK.OS.Win95.Win95Apps email2.Hide(); email3.Hide(); hotmailpadams.Hide(); - webBrowser1.Hide(); } private void LinkLabel15_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) @@ -57,7 +55,7 @@ namespace TimeHACK.OS.Win95.Win95Apps goToSite("www.google.com", false); } - private void LinkLabel16_LinkClicked(object sender, HtmlElementEventArgs e) + private void padams_LinkClicked(object sender, HtmlElementEventArgs e) { goToSite("www.12padams.com", false); } @@ -115,13 +113,11 @@ namespace TimeHACK.OS.Win95.Win95Apps break; case "www.12padams.com": hidePrograms(); - webBrowser1.Url = new Uri(@"pack://application:,,,/Resources/IE4/padams.html", UriKind.RelativeOrAbsolute); - currentsite = webBrowser1.Document; - currentsite.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click); + webBrowser1.DocumentText = resources.GetString("padams_HTML"); break; case "www.microsoft.com/internetexplorer4/welcome": hidePrograms(); - webBrowser1.Url = new Uri(@"pack://application:,,,/Resources/IE4/ie4start.html", UriKind.RelativeOrAbsolute); + webBrowser1.DocumentText = resources.GetString("ie4start_HTML"); break; case "www.???.com": hidePrograms(); @@ -190,6 +186,20 @@ namespace TimeHACK.OS.Win95.Win95Apps goToSite(addressbar.Text, false); } + private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) + { + switch (addressbar.Text) + { + case "www.microsoft.com/internetexplorer4/welcome": + webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(padams_LinkClicked); + break; + case "www.12padams.com": + webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click); + webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;"; + break; + } + } + //TODO: Add more websites //TODO: Relabel Buttons And Things } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx index d1ae5fd..6848c3f 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx @@ -199,7 +199,121 @@ So Please enjoy Using this amzing software and show the world what your made of. ..\..\..\resources\ie4\ie4start.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + <html> + <head> + <style> + body { + font-family: "Microsoft Sans Serif"; + text-align: center; + } + h1 { + margin-top: 19px; + font-size: 14.25pt; + font-style: bold; + } + p { + font-size: 11.25pt; + } + h2 { + font-size: 12pt; + font-style: bold; + margin-top: 50px; + } + p.end { + font-size: 9.75pt; + } + </style> + </head> + <body> + <h1>Welcome to Internet Explorer 4</h1> + <p>Welcome To Internet Explorer 4.<br> +Internet Explorer 4 makes browsing the web and exploring websites a pleasant experience.<br> +Just type an address in the location bar above and then press go.<br> +Instantly you will be taken to the webpage of your choosing.<br> +Where do you want to go today?</p> + <h2>Here are some sites you may want to visit.</h2> + <a id="google" href="google">www.google.com</a><br> + <a id="padams" href="12padams">www.12padams.com</a> + <p class="end">Where do you want to go today?</p> + </body> +</html> + ..\..\..\resources\ie4\padams.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + <html> + <head> + <style> + body { + font-family: "Microsoft Sans Serif"; + text-align: center; + } + h1 { + font-size: 9.75pt; + margin-top: 20px; + } + p { + font-size: 9.25pt; + margin-top: 0; + margin-bottom: 25px; + } + td div { + display: inline-block; + border: 1px solid black; + width: 215px; + height: 305px; + margin: 0 3px 0 3px; + text-align: center; + } + h1#copyright { + font-size: 9pt; + } + p.app { + margin-top: 30px; + } + p.app button { + float: right; + background-color: silver; + border-color: gray black black gray; + margin-right: 2px; + } + a { + font-size: 9.25pt; + color: blue; + } + </style> + </head> + <body> + <h1>Welcome to the Official 12padams website!!!</h1> + <p>The best customizations for your windows 95 computer</p> + <table align="center"> + <tr> + <td><div class="software"> + <h1>Games/Software</h1> + <p class="app" id="gtn">Guess the Number V1 <button id="gtn_b">Download</button></p> + <p class="app" id="wc">Web Chat 1998 <button id="wc_b">Download</button></p> + <p class="app" id="distort">Time Distorter 0.1 <button id="distort_b">Download</button></p> + </div></td> + <td><div class="customize"> + <h1>Customizations</h1> + <p class="app" id="bg">Backgrounds <button id="bg_b">View Backgrounds</button></p> + <p class="app" id="skn">Skindows 95 <button id="skn_b">Info</button></p> + </div></td> + <td><div class="viruses"> + <h1>Example Viruses</h1> + <p class="app" id="sr">Start Runner 95 <button id="sr_b">Download</button></p> + <p class="app" id="eb">Error Blaster 95 <button id="eb_b">Download</button></p> + </div></td> + <td><div class="sites"> + <h1>WebSites</h1> + <a id="hotmail" href="hotmail">www.hotmail.com</a> + </div></td> + </tr> + </table> + <h1 id="copyright">Copyright 1998 12padams</h1> + </body> +</html> + \ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/padams.html b/TimeHACK.Main/Resources/IE4/padams.html index 83ade49..9135372 100644 --- a/TimeHACK.Main/Resources/IE4/padams.html +++ b/TimeHACK.Main/Resources/IE4/padams.html @@ -36,6 +36,7 @@ } a { font-size: 9.25pt; + color: blue; } diff --git a/TimeHACK.Main/bin/Release/TimeHACK.application b/TimeHACK.Main/bin/Release/TimeHACK.application index 7fbd3ba..8b3f714 100644 --- a/TimeHACK.Main/bin/Release/TimeHACK.application +++ b/TimeHACK.Main/bin/Release/TimeHACK.application @@ -14,7 +14,7 @@ - 1bSn6m+UAB9a5idZFA+StOqN0kRMurjPRo339G9JQGo= + vHi7xufEvEMe3FEj7XTlr08MEyWO/Lb3VmGVgDT5tDU= diff --git a/TimeHACK.Main/bin/Release/TimeHACK.exe b/TimeHACK.Main/bin/Release/TimeHACK.exe index 7a8d7d8..ceb5ac8 100644 Binary files a/TimeHACK.Main/bin/Release/TimeHACK.exe and b/TimeHACK.Main/bin/Release/TimeHACK.exe differ diff --git a/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest b/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest index 61c4615..5a9522e 100644 --- a/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest +++ b/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest @@ -56,14 +56,14 @@ - + - qsK1qfjuvXPNGaP+f3vgCTIamWHQKEpuzvRtw2QscVY= + EbCIdG1Ab3JzTNNqRbMWFm4+590vGZ3Sg4QxN1qsWac= @@ -106,13 +106,13 @@ Sf4jcnpqMm+8SKOCp6p1gJdzo9VpBKwFezayuSmHm+Q= - + - AGImdIeEP/E84lMW4mWw3wu/UigLZNCncZeFDsxs1IQ= + FZPOIkZkFLT3KRMLipbNDuiMStSRNyrKMeGEMi5HZEQ= diff --git a/TimeHACK.Main/bin/Release/TimeHACK.pdb b/TimeHACK.Main/bin/Release/TimeHACK.pdb index 4535084..6c21c8e 100644 Binary files a/TimeHACK.Main/bin/Release/TimeHACK.pdb and b/TimeHACK.Main/bin/Release/TimeHACK.pdb differ diff --git a/TimeHACK.Main/bin/Release/TimeHACK.vshost.application b/TimeHACK.Main/bin/Release/TimeHACK.vshost.application index 7fbd3ba..8b3f714 100644 --- a/TimeHACK.Main/bin/Release/TimeHACK.vshost.application +++ b/TimeHACK.Main/bin/Release/TimeHACK.vshost.application @@ -14,7 +14,7 @@ - 1bSn6m+UAB9a5idZFA+StOqN0kRMurjPRo339G9JQGo= + vHi7xufEvEMe3FEj7XTlr08MEyWO/Lb3VmGVgDT5tDU= diff --git a/TimeHACK.Main/bin/Release/TimeHACK.vshost.exe.manifest b/TimeHACK.Main/bin/Release/TimeHACK.vshost.exe.manifest index 61c4615..5a9522e 100644 --- a/TimeHACK.Main/bin/Release/TimeHACK.vshost.exe.manifest +++ b/TimeHACK.Main/bin/Release/TimeHACK.vshost.exe.manifest @@ -56,14 +56,14 @@ - + - qsK1qfjuvXPNGaP+f3vgCTIamWHQKEpuzvRtw2QscVY= + EbCIdG1Ab3JzTNNqRbMWFm4+590vGZ3Sg4QxN1qsWac= @@ -106,13 +106,13 @@ Sf4jcnpqMm+8SKOCp6p1gJdzo9VpBKwFezayuSmHm+Q= - + - AGImdIeEP/E84lMW4mWw3wu/UigLZNCncZeFDsxs1IQ= + FZPOIkZkFLT3KRMLipbNDuiMStSRNyrKMeGEMi5HZEQ= diff --git a/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe b/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe index 7a8d7d8..ceb5ac8 100644 Binary files a/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe and b/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache b/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache index 4c2938f..fc1c4e5 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache and b/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources b/TimeHACK.Main/obj/Release/TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources index b98a74c..f3d7f94 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources and b/TimeHACK.Main/obj/Release/TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.application b/TimeHACK.Main/obj/Release/TimeHACK.application index 7fbd3ba..8b3f714 100644 --- a/TimeHACK.Main/obj/Release/TimeHACK.application +++ b/TimeHACK.Main/obj/Release/TimeHACK.application @@ -14,7 +14,7 @@ - 1bSn6m+UAB9a5idZFA+StOqN0kRMurjPRo339G9JQGo= + vHi7xufEvEMe3FEj7XTlr08MEyWO/Lb3VmGVgDT5tDU= diff --git a/TimeHACK.Main/obj/Release/TimeHACK.exe b/TimeHACK.Main/obj/Release/TimeHACK.exe index 7a8d7d8..ceb5ac8 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.exe and b/TimeHACK.Main/obj/Release/TimeHACK.exe differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest b/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest index 61c4615..5a9522e 100644 --- a/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest +++ b/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest @@ -56,14 +56,14 @@ - + - qsK1qfjuvXPNGaP+f3vgCTIamWHQKEpuzvRtw2QscVY= + EbCIdG1Ab3JzTNNqRbMWFm4+590vGZ3Sg4QxN1qsWac= @@ -106,13 +106,13 @@ Sf4jcnpqMm+8SKOCp6p1gJdzo9VpBKwFezayuSmHm+Q= - + - AGImdIeEP/E84lMW4mWw3wu/UigLZNCncZeFDsxs1IQ= + FZPOIkZkFLT3KRMLipbNDuiMStSRNyrKMeGEMi5HZEQ= diff --git a/TimeHACK.Main/obj/Release/TimeHACK.pdb b/TimeHACK.Main/obj/Release/TimeHACK.pdb index 4535084..6c21c8e 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.pdb and b/TimeHACK.Main/obj/Release/TimeHACK.pdb differ -- cgit v1.2.3 From d09495e545fecf9bed7b110115c7c844a8ed0d39 Mon Sep 17 00:00:00 2001 From: lempamo Date: Fri, 28 Apr 2017 13:31:20 -0400 Subject: FIXED IE4 padams --- .vs/TimeHACK/v14/.suo | Bin 112128 -> 111104 bytes TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs | 32 +++++++++++++++------ .../OS/Win95/Win95Apps/WinClassicIE4.resx | 11 +++++-- TimeHACK.Main/Resources/IE4/ie4start.html | 10 +++++-- TimeHACK.Main/Resources/IE4/padams.html | 3 +- TimeHACK.Main/bin/Release/TimeHACK.application | 4 +-- TimeHACK.Main/bin/Release/TimeHACK.exe | Bin 6236160 -> 6236672 bytes TimeHACK.Main/bin/Release/TimeHACK.exe.manifest | 12 ++++---- TimeHACK.Main/bin/Release/TimeHACK.pdb | Bin 142848 -> 144896 bytes .../bin/Release/TimeHACK.vshost.application | 4 +-- .../bin/Release/TimeHACK.vshost.exe.manifest | 12 ++++---- TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe | Bin 6236160 -> 6236672 bytes .../TimeHACK.Main.csproj.GenerateResource.Cache | Bin 4932 -> 4932 bytes ...HACK.OS.Win95.Win95Apps.WinClassicIE4.resources | Bin 9548 -> 9720 bytes TimeHACK.Main/obj/Release/TimeHACK.application | 4 +-- TimeHACK.Main/obj/Release/TimeHACK.exe | Bin 6236160 -> 6236672 bytes TimeHACK.Main/obj/Release/TimeHACK.exe.manifest | 12 ++++---- TimeHACK.Main/obj/Release/TimeHACK.pdb | Bin 142848 -> 144896 bytes 18 files changed, 67 insertions(+), 37 deletions(-) (limited to 'TimeHACK.Main/Resources') diff --git a/.vs/TimeHACK/v14/.suo b/.vs/TimeHACK/v14/.suo index 05bca1a..cb4a298 100644 Binary files a/.vs/TimeHACK/v14/.suo and b/.vs/TimeHACK/v14/.suo differ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs index 2313ded..2b587d2 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs @@ -14,11 +14,15 @@ namespace TimeHACK.OS.Win95.Win95Apps public int historylocation = 0; public HtmlDocument currentsite; + private Timer loadplz = new Timer(); public WinClassicIE4() { InitializeComponent(); + loadplz.Tick += new EventHandler(loadplz_Tick); + loadplz.Interval = 10; } + private void WinClassicIE4_Load(object sender, EventArgs e) { browsinghistory.Capacity = 99; @@ -188,15 +192,27 @@ namespace TimeHACK.OS.Win95.Win95Apps private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { - switch (addressbar.Text) + loadplz.Start(); + } + + private void loadplz_Tick(object sender, EventArgs e) + { + try { - case "www.microsoft.com/internetexplorer4/welcome": - webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(padams_LinkClicked); - break; - case "www.12padams.com": - webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click); - webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;"; - break; + switch (currentsite.Title) + { + case "IE4START": + webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(padams_LinkClicked); + break; + case "12PADAMS": + webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click); + webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;"; + break; + } + loadplz.Stop(); + } catch + { + } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx index 6848c3f..dd84e1b 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx @@ -202,6 +202,7 @@ So Please enjoy Using this amzing software and show the world what your made of. <html> <head> + <title>IE4START</title> <style> body { font-family: "Microsoft Sans Serif"; @@ -223,6 +224,11 @@ So Please enjoy Using this amzing software and show the world what your made of. p.end { font-size: 9.75pt; } + a { + color: blue; + text-decoration: underline; + cursor: hand; + } </style> </head> <body> @@ -233,8 +239,8 @@ Just type an address in the location bar above and then press go.<br> Instantly you will be taken to the webpage of your choosing.<br> Where do you want to go today?</p> <h2>Here are some sites you may want to visit.</h2> - <a id="google" href="google">www.google.com</a><br> - <a id="padams" href="12padams">www.12padams.com</a> + <a id="google">www.google.com</a><br> + <a id="padams">www.12padams.com</a> <p class="end">Where do you want to go today?</p> </body> </html> @@ -245,6 +251,7 @@ Where do you want to go today?</p> <html> <head> + <title>12PADAMS</title> <style> body { font-family: "Microsoft Sans Serif"; diff --git a/TimeHACK.Main/Resources/IE4/ie4start.html b/TimeHACK.Main/Resources/IE4/ie4start.html index 6a0f5d4..50b0ac7 100644 --- a/TimeHACK.Main/Resources/IE4/ie4start.html +++ b/TimeHACK.Main/Resources/IE4/ie4start.html @@ -1,5 +1,6 @@ + IE4START @@ -31,8 +37,8 @@ Just type an address in the location bar above and then press go.
Instantly you will be taken to the webpage of your choosing.
Where do you want to go today?

Here are some sites you may want to visit.

- www.google.com
- www.12padams.com + www.google.com
+ www.12padams.com

Where do you want to go today?

\ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/padams.html b/TimeHACK.Main/Resources/IE4/padams.html index 9135372..d8846bf 100644 --- a/TimeHACK.Main/Resources/IE4/padams.html +++ b/TimeHACK.Main/Resources/IE4/padams.html @@ -1,5 +1,6 @@ + 12PADAMS