From 7d99d9ffbf5652f538c69228daa53fe423eb246b Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sun, 23 Jul 2017 14:00:50 +0100 Subject: Started on the Realistic Desktop :P No one reads these descriptions! --- TimeHACK.Main/OS/Win95/Win95.cs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'TimeHACK.Main/OS/Win95/Win95.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index f897001..0f9a8e7 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -23,11 +23,13 @@ namespace TimeHACK.OS.Win95 public WinClassicTimeDistorter distort; public TaskBarController tb = new TaskBarController(); - public int currentappcount = 0; + public ListView BaseIcons; - public bool webchatInstalled = false; + public int CurrentAppCount = 0; - public bool hiddenpadamsFound = false; + public bool WebChatInstalled = false; + + public bool HiddenPadamsFound = false; // Init the form public Windows95() @@ -56,6 +58,8 @@ namespace TimeHACK.OS.Win95 item.MouseEnter += new EventHandler(MenuItem_MouseEnter); item.MouseLeave += new EventHandler(MenuItem_MouseLeave); } + + BaseIcons = desktopicons; } private void MenuItem_MouseEnter(object sender, EventArgs e) @@ -451,6 +455,13 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } + + private void desktopupdate_Tick(object sender, EventArgs e) + { + // Update the Desktop icons + + DesktopController.ViewDesktopIcons(BaseIcons, ref desktopicons, Path.Combine(ProfileWindowsDirectory, "Desktop")); + } } public class MyRenderer : ToolStripProfessionalRenderer { -- cgit v1.2.3