aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps
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/Win95/Win95Apps
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/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();