From a81438ac681f83c6ca13a5000d3944ce8c50db9a Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 1 May 2017 16:37:21 -0400 Subject: set up the hwcv --- TimeHACK.Main/OS/Win95/Win95.cs | 7 +++++-- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs | 2 ++ TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'TimeHACK.Main/OS') 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(); -- cgit v1.2.3