diff options
| author | lempamo <[email protected]> | 2017-07-12 17:23:10 -0500 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-12 17:23:10 -0500 |
| commit | a52cfa8adcf24e9698adfbc243cd7e6a45793c1b (patch) | |
| tree | 0c830f514dd8f8b905df49482ac4ee963c7dcbaf /TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs | |
| parent | 044a0200583fcc5537f9a4d3a690bf83b4ddfd1d (diff) | |
| download | histacom2-a52cfa8adcf24e9698adfbc243cd7e6a45793c1b.tar.gz histacom2-a52cfa8adcf24e9698adfbc243cd7e6a45793c1b.tar.bz2 histacom2-a52cfa8adcf24e9698adfbc243cd7e6a45793c1b.zip | |
Added TempIE4's start page
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) |
