aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-28 20:00:14 -0500
committerGitHub <[email protected]>2017-10-28 20:00:14 -0500
commitb2e99d751dd7417599212df04c74cdeb60c6453e (patch)
tree0c3892ecc10e96943621419924fa717a5fdd0a6d /Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
parent8501b2ff1483efc270216ec33fd93abccdb66253 (diff)
parent5a87139ba9f8ad29b7c3e8c0d4249e149e1eebd0 (diff)
downloadhistacom2-b2e99d751dd7417599212df04c74cdeb60c6453e.tar.gz
histacom2-b2e99d751dd7417599212df04c74cdeb60c6453e.tar.bz2
histacom2-b2e99d751dd7417599212df04c74cdeb60c6453e.zip
Merge pull request #172 from jtsshieh/master
Fixing bugs part 1
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
index de2e4b0..34828cc 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
@@ -34,6 +34,7 @@ namespace Histacom2.OS.Win95.Win95Apps
public static async void GoToPage(string url)
{
+ string newURL = url;
UserControl uc = new UserControl();
switch (url)
@@ -50,12 +51,24 @@ namespace Histacom2.OS.Win95.Win95Apps
case "www.12padams.com":
uc = new _12padams1998();
break;
+ case "12padams.com":
+ uc = new _12padams1998();
+ newURL = "www.12padams.com";
+ break;
+ case "google.com":
+ uc = new GoogleHome();
+ newURL = "www.google.com";
+ break;
+ case "google.stanford.edu":
+ uc = new GooglePrototype();
+ newURL = "www.google.stanford.edu";
+ break;
default:
uc = new IENoPage();
break;
}
- addressbar.Text = url;
+ addressbar.Text = newURL;
uc.Dock = DockStyle.Fill;
await Task.Delay(new Random().Next(500, 1500));