aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-05-01 16:37:21 -0400
committerlempamo <[email protected]>2017-05-01 16:37:21 -0400
commita81438ac681f83c6ca13a5000d3944ce8c50db9a (patch)
tree495f5fd020a2ac62252d791481a249f453ae6f24 /TimeHACK.Main/OS/Win95/Win95Apps
parent14709f42bc47f5d3026ea7bc36677780562a9180 (diff)
downloadhistacom2-a81438ac681f83c6ca13a5000d3944ce8c50db9a.tar.gz
histacom2-a81438ac681f83c6ca13a5000d3944ce8c50db9a.tar.bz2
histacom2-a81438ac681f83c6ca13a5000d3944ce8c50db9a.zip
set up the hwcv
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs2
2 files changed, 3 insertions, 1 deletions
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();