aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorjtsshieh <[email protected]>2017-10-28 20:17:22 -0400
committerjtsshieh <[email protected]>2017-10-28 20:17:22 -0400
commitb5cc523276755aa0171705bb65beabf9ddd825d7 (patch)
tree8fdc106b0664cc8084a2d0be10acc49d53732cb6 /Histacom2/OS/Win95/Win95Apps
parent57817b7534a620841c9a825884a6f5e7ffc2f219 (diff)
downloadhistacom2-b5cc523276755aa0171705bb65beabf9ddd825d7.tar.gz
histacom2-b5cc523276755aa0171705bb65beabf9ddd825d7.tar.bz2
histacom2-b5cc523276755aa0171705bb65beabf9ddd825d7.zip
Fixed up time distorter bug, 95 desktop cleanup and ie3 supporting links wihtout www
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs15
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs11
2 files changed, 23 insertions, 3 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));
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
index 33ab4f2..9421bdc 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
@@ -104,10 +104,17 @@
//
// btnGo
//
- this.btnGo.Location = new System.Drawing.Point(162, 133);
+ this.btnGo.AdaptBackColorWithTheme = true;
+ this.btnGo.AdaptFontWithTheme = true;
+ this.btnGo.AdaptForeColorWithTheme = true;
+ this.btnGo.BackColor = System.Drawing.Color.Silver;
+ this.btnGo.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.btnGo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
+ this.btnGo.ForeColor = System.Drawing.Color.Black;
+ this.btnGo.Location = new System.Drawing.Point(155, 133);
this.btnGo.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.btnGo.Name = "btnGo";
- this.btnGo.Size = new System.Drawing.Size(124, 23);
+ this.btnGo.Size = new System.Drawing.Size(131, 23);
this.btnGo.TabIndex = 7;
this.btnGo.Text = "Go To Destination Year";
this.btnGo.Click += new System.EventHandler(this.btnGo_Click);