aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-05-02 17:44:50 -0400
committerlempamo <[email protected]>2017-05-02 17:44:50 -0400
commit677e4a8b2f6d1020f88786d2eefdaa06b0e98549 (patch)
treecb511e5b7e6d081b6f313c9f1de9373002e62688 /TimeHACK.Main/OS/Win95
parent01d130bf5c3466d5b581cb3a2cf7bdeb4e5ff721 (diff)
downloadhistacom2-677e4a8b2f6d1020f88786d2eefdaa06b0e98549.tar.gz
histacom2-677e4a8b2f6d1020f88786d2eefdaa06b0e98549.tar.bz2
histacom2-677e4a8b2f6d1020f88786d2eefdaa06b0e98549.zip
google prototype
Diffstat (limited to 'TimeHACK.Main/OS/Win95')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.Designer.cs2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs15
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx70
4 files changed, 78 insertions, 11 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
index d6fba17..2e88c36 100644
--- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
@@ -29,7 +29,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95));
+ this.resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95));
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("My Computer", 0);
System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Network Neighborhood", 5);
System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("Inbox", 3);
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
index 6241924..adcb291 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
@@ -1956,7 +1956,6 @@
this.googlebetalink.TabIndex = 2;
this.googlebetalink.TabStop = true;
this.googlebetalink.Text = "Might-work-some-of-the-time-prototype that is much more up to date. ";
- this.googlebetalink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.googlebetalink_LinkClicked);
//
// googleprototypelink
//
@@ -1968,7 +1967,6 @@
this.googleprototypelink.TabIndex = 1;
this.googleprototypelink.TabStop = true;
this.googleprototypelink.Text = "Google Search Engine Prototype";
- this.googleprototypelink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.googleprototypelink_LinkClicked);
//
// Label6
//
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
index b5b3d03..1e4e204 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
@@ -54,7 +54,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
hotmailpadams.Hide();
}
- private void LinkLabel15_LinkClicked(object sender, HtmlElementEventArgs e)
+ private void google_LinkClicked(object sender, HtmlElementEventArgs e)
{
goToSite("www.google.com", false);
}
@@ -64,12 +64,12 @@ namespace TimeHACK.OS.Win95.Win95Apps
goToSite("www.12padams.com", false);
}
- private void googleprototypelink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ private void googleprototypelink_LinkClicked(object sender, HtmlElementEventArgs e)
{
goToSite("www.google.stanford.edu", false);
}
- private void googlebetalink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ private void googlebetalink_LinkClicked(object sender, HtmlElementEventArgs e)
{
goToSite("www.alpha.google.com", false);
}
@@ -106,8 +106,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
break;
case "www.google.stanford.edu":
hidePrograms();
- googleprototype.Dock = DockStyle.Fill;
- googleprototype.Show();
+ webBrowser1.DocumentText = resources.GetString("prototype_HTML");
break;
case "www.alpha.google.com":
hidePrograms();
@@ -201,13 +200,17 @@ namespace TimeHACK.OS.Win95.Win95Apps
switch (currentsite.Title)
{
case "IE4START":
- webBrowser1.Document.GetElementById("google").Click += new HtmlElementEventHandler(LinkLabel15_LinkClicked);
+ webBrowser1.Document.GetElementById("google").Click += new HtmlElementEventHandler(google_LinkClicked);
webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(padams_LinkClicked);
break;
case "12PADAMS":
webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click);
if (!TitleScreen.frm95.hiddenpadamsFound) webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;";
break;
+ case "GOOGLE":
+ webBrowser1.Document.GetElementById("prototype").Click += new HtmlElementEventHandler(googleprototypelink_LinkClicked);
+ webBrowser1.Document.GetElementById("alpha").Click += new HtmlElementEventHandler(googlebetalink_LinkClicked);
+ break;
}
loadplz.Stop();
} catch
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx
index 8addf12..02cc277 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx
@@ -227,7 +227,7 @@ So Please enjoy Using this amzing software and show the world what your made of.
a {
color: blue;
text-decoration: underline;
- cursor: hand;
+ cursor: pointer;
}
&lt;/style&gt;
&lt;/head&gt;
@@ -334,7 +334,7 @@ Where do you want to go today?&lt;/p&gt;
a {
color: blue;
text-decoration: underline;
- cursor: hand;
+ cursor: pointer;
}
&lt;/style&gt;
&lt;/head&gt;
@@ -346,4 +346,70 @@ Where do you want to go today?&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</value>
</data>
+ <data name="prototype_HTML" xml:space="preserve">
+ <value>&lt;html&gt;
+ &lt;head&gt;
+ &lt;meta charset="utf-8" /&gt;
+ &lt;title&gt;PROTOTYPE&lt;/title&gt;
+ &lt;style&gt;
+ a {
+ color: blue;
+ text-decoration: underline;
+ cursor: pointer;
+ }
+ &lt;/style&gt;
+ &lt;/head&gt;
+ &lt;body bgcolor="#FFFFFF"&gt;
+ &lt;center&gt;
+ &lt;img src="file:///C:/TimeHackData/Data/google.jpg" width="351" height="113"&gt;&lt;br&gt;
+ &lt;table border="0" cellspacing="0" cellpadding="5" width="70%"&gt;
+ &lt;tr&gt;
+ &lt;td bgcolor="#EEEEEE"&gt;
+ &lt;center&gt;
+ Search the web using Google!&lt;br&gt;
+ &lt;input type="text" name="query" value="" size="40"&gt;&lt;br&gt;
+ &lt;select name="num"&gt;
+ &lt;option value="10" selected&gt;10 results
+ &lt;option value="30"&gt;30 results
+ &lt;option value="100"&gt;100 results
+ &lt;/select&gt;
+ &lt;button id="search"&gt;Google Search&lt;/button&gt;
+ &lt;button id="lucky"&gt;I'm feeling lucky&lt;/button&gt; &lt;br&gt;
+ &lt;i&gt;Index contains ~25 million pages (soon to be much bigger)&lt;/i&gt;
+ &lt;/center&gt;
+ &lt;/td&gt;
+ &lt;/tr&gt;
+ &lt;tr&gt;
+ &lt;td&gt;
+ &lt;center&gt;
+ &lt;h2&gt;&lt;a&gt;About Google!&lt;/a&gt;&lt;/h2&gt;
+ &lt;a&gt;
+ Stanford
+ Search
+ &lt;/a&gt; &lt;a&gt;Linux Search&lt;/a&gt;
+ &lt;/center&gt;
+ &lt;/td&gt;
+ &lt;/tr&gt;
+ &lt;tr align="LEFT"&gt;
+ &lt;td valign="CENTER" bgcolor="#EEEEEE" width="100%"&gt;
+ &lt;center&gt;Get Google! updates monthly!&lt;/center&gt;
+ &lt;/td&gt;
+ &lt;/tr&gt;
+
+ &lt;tr align="LEFT"&gt;
+ &lt;td bgcolor="#EEEEEE"&gt;
+ &lt;center&gt;
+ &lt;input type="text" name="emailaddr" value="your e-mail" size="18"&gt;
+ &lt;input type="submit" name="SubmitAction" value="Subscribe"&gt;&lt;font size="-1"&gt;&amp;nbsp;&amp;nbsp;&lt;a&gt;Archive&lt;/a&gt;&lt;/font&gt;
+ &lt;/center&gt;
+ &lt;/td&gt;
+ &lt;/tr&gt;
+ &lt;/table&gt;
+ &lt;/center&gt;
+
+ &lt;center&gt;&lt;font size="-1"&gt;Copyright &amp;copy;1997-8 Stanford University&lt;/font&gt;&lt;/center&gt;
+
+ &lt;/body&gt;
+&lt;/html&gt;</value>
+ </data>
</root> \ No newline at end of file