From b5cc523276755aa0171705bb65beabf9ddd825d7 Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sat, 28 Oct 2017 20:17:22 -0400 Subject: Fixed up time distorter bug, 95 desktop cleanup and ie3 supporting links wihtout www --- Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs | 15 ++++++++++++++- .../Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs | 11 +++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) (limited to 'Histacom2/OS/Win95/Win95Apps') 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); -- cgit v1.2.3