aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-05-01 13:41:38 -0700
committerGitHub <[email protected]>2017-05-01 13:41:38 -0700
commit338aebc311325b1f1ddf1cf6853dbf1905fb0759 (patch)
tree08624a06991a947c4444e6a20be10d42adfa3a0e /TimeHACK.Main/OS
parent014ecfb06555280f3d547d7f9bdef25904b7b206 (diff)
parenta81438ac681f83c6ca13a5000d3944ce8c50db9a (diff)
downloadhistacom2-338aebc311325b1f1ddf1cf6853dbf1905fb0759.tar.gz
histacom2-338aebc311325b1f1ddf1cf6853dbf1905fb0759.tar.bz2
histacom2-338aebc311325b1f1ddf1cf6853dbf1905fb0759.zip
Merge pull request #60 from lempamo/master
set up the hwcv
Diffstat (limited to 'TimeHACK.Main/OS')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs7
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs2
3 files changed, 8 insertions, 3 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 2cb9880..da8a550 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -27,6 +27,8 @@ namespace TimeHACK.OS.Win95
public bool webchatInstalled = false;
+ public bool hiddenpadamsFound = false;
+
// Init the form
public Windows95()
{
@@ -125,8 +127,7 @@ namespace TimeHACK.OS.Win95
// Give Year Code - NYI
private void taskbartime_Click(object sender, EventArgs e)
{
- //TODO: Set Up Year Codes
- // We are actually thinking about not having save code because it would be nice if we could save tons of data!
+ //TODO: Set Up Save System
}
// Set the Clock
@@ -308,6 +309,8 @@ namespace TimeHACK.OS.Win95
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Win95TaskBarItem(), taskbarItems);
}
}
+
+ //TODO: Add Outlook Express 4
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs
index 2fd0fe5..8a159e9 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs
@@ -23,6 +23,8 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
Label3.Show();
Label3.Text = "Hidden Content Found: Time Distorter";
+ TitleScreen.frm95.hiddenpadamsFound = true;
+ if (TitleScreen.frm95.ie != null && ((WinClassicIE4)TitleScreen.frm95.ie.programContent.Controls[0]).currentsite.Title == "12PADAMS") ((WinClassicIE4)TitleScreen.frm95.ie.programContent.Controls[0]).webBrowser1.Refresh();
}
else
{
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
index 2b587d2..9f35153 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
@@ -206,7 +206,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
break;
case "12PADAMS":
webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click);
- webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;";
+ if (!TitleScreen.frm95.hiddenpadamsFound) webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;";
break;
}
loadplz.Stop();