aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs
diff options
context:
space:
mode:
authorJayXKanz666 <[email protected]>2017-07-13 00:30:47 +0200
committerJayXKanz666 <[email protected]>2017-07-13 00:30:47 +0200
commit2fa16a63050251f28866567bd07b1a14575a5ce3 (patch)
tree0c830f514dd8f8b905df49482ac4ee963c7dcbaf /TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs
parentd45804aec7e3cb313b4884b9de198542c376ed1f (diff)
parenta52cfa8adcf24e9698adfbc243cd7e6a45793c1b (diff)
downloadhistacom2-2fa16a63050251f28866567bd07b1a14575a5ce3.tar.gz
histacom2-2fa16a63050251f28866567bd07b1a14575a5ce3.tar.bz2
histacom2-2fa16a63050251f28866567bd07b1a14575a5ce3.zip
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs8
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)