diff options
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs index 8f5de0f..637201d 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs @@ -14,11 +14,13 @@ namespace TimeHACK.OS.Win95.Win95Apps public partial class TempIE4 : UserControl { public static Panel browsingArea = new Panel(); + public static ComboBox addressbar = new ComboBox(); public TempIE4() { InitializeComponent(); browsingArea = _browsingArea; + addressbar = _addressbar; } public static void GoToPage(string url) @@ -27,6 +29,9 @@ namespace TimeHACK.OS.Win95.Win95Apps switch (url) { + case "www.microsoft.com/windows/ie/default.htm": + uc = new IE4Start(); + break; case "www.google.com": uc = new GoogleHome(); break; @@ -35,6 +40,7 @@ namespace TimeHACK.OS.Win95.Win95Apps break; } + addressbar.Text = url; uc.Dock = DockStyle.Fill; browsingArea.Controls.Clear(); browsingArea.Controls.Add(uc); @@ -42,7 +48,7 @@ namespace TimeHACK.OS.Win95.Win95Apps private void TempIE4_Load(object sender, EventArgs e) { - GoToPage("www.google.com"); + GoToPage("www.microsoft.com/windows/ie/default.htm"); } private void GoButton_Click(object sender, EventArgs e) |
