diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-23 14:00:50 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-23 14:00:50 +0100 |
| commit | 7d99d9ffbf5652f538c69228daa53fe423eb246b (patch) | |
| tree | 63100bf15d36b9843085442b363e371ab2302fb9 /TimeHACK.Main | |
| parent | a476b1e977208cdac172da122603abad7c26d93d (diff) | |
| download | histacom2-7d99d9ffbf5652f538c69228daa53fe423eb246b.tar.gz histacom2-7d99d9ffbf5652f538c69228daa53fe423eb246b.tar.bz2 histacom2-7d99d9ffbf5652f538c69228daa53fe423eb246b.zip | |
Started on the Realistic Desktop
:P No one reads these descriptions!
Diffstat (limited to 'TimeHACK.Main')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.Designer.cs | 7 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 17 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.resx | 5 |
3 files changed, 25 insertions, 4 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index b77e2db..a46afe2 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -130,6 +130,7 @@ namespace TimeHACK.OS.Win95 this.BitmapImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MicrosoftDataLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PropertiesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.desktopupdate = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.taskbar.SuspendLayout(); this.clockPanel.SuspendLayout(); @@ -1142,6 +1143,11 @@ namespace TimeHACK.OS.Win95 this.PropertiesToolStripMenuItem1.Text = "Properties"; this.PropertiesToolStripMenuItem1.Click += new System.EventHandler(this.PropertiesToolStripMenuItem1_Click); // + // desktopupdate + // + this.desktopupdate.Interval = 5000; + this.desktopupdate.Tick += new System.EventHandler(this.desktopupdate_Tick); + // // Windows95 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1268,5 +1274,6 @@ namespace TimeHACK.OS.Win95 private System.Windows.Forms.ToolStripMenuItem storyTest1ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem FTPClientToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem iE4TestToolStripMenuItem; + private System.Windows.Forms.Timer desktopupdate; } }
\ No newline at end of file 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 { diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index 5e1c35e..7285926 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -374,7 +374,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq - ggAAAk1TRnQBSQFMAgEBDAEAAbgBAQG4AQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA + ggAAAk1TRnQBSQFMAgEBDAEAAcgBAQHIAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA AwABgAMAAQEBAAEgBwABAf8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AXAAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/x8AAf8DAAH/ @@ -938,6 +938,9 @@ <metadata name="rightclickbackproperties.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>398, 17</value> </metadata> + <metadata name="desktopupdate.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>580, 17</value> + </metadata> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>63</value> </metadata> |
