aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-23 15:37:27 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-23 15:37:27 +0100
commitc3ad5be7444664be6a1f7ba023067eb32cb5d231 (patch)
tree417b39d8f0a6c52a8024913b232566de013f13ae /TimeHACK.Main/OS/Win95/Win95.cs
parent7d99d9ffbf5652f538c69228daa53fe423eb246b (diff)
downloadhistacom2-c3ad5be7444664be6a1f7ba023067eb32cb5d231.tar.gz
histacom2-c3ad5be7444664be6a1f7ba023067eb32cb5d231.tar.bz2
histacom2-c3ad5be7444664be6a1f7ba023067eb32cb5d231.zip
Realistic Desktop is halfway done!
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs30
1 files changed, 19 insertions, 11 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 0f9a8e7..7a2e9e1 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -23,8 +23,6 @@ namespace TimeHACK.OS.Win95
public WinClassicTimeDistorter distort;
public TaskBarController tb = new TaskBarController();
- public ListView BaseIcons;
-
public int CurrentAppCount = 0;
public bool WebChatInstalled = false;
@@ -58,8 +56,6 @@ 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)
@@ -130,7 +126,17 @@ namespace TimeHACK.OS.Win95
app.BringToFront();
}
-
+
+ // Update the Desktop icons
+
+ DesktopController.RefreshDesktopIcons(new ListViewItem[] { new System.Windows.Forms.ListViewItem("My Computer", 0),
+ new System.Windows.Forms.ListViewItem("Network Neighborhood", 5),
+ new System.Windows.Forms.ListViewItem("Inbox", 3),
+ new System.Windows.Forms.ListViewItem("Recycle Bin", 7),
+ new System.Windows.Forms.ListViewItem("Internet Explorer", 2),
+ new System.Windows.Forms.ListViewItem("Online Services", 1),
+ new System.Windows.Forms.ListViewItem("Set Up The Microsoft Network", 4),
+ new System.Windows.Forms.ListViewItem("Outlook Express", 6) }, ref desktopicons, Path.Combine(ProfileWindowsDirectory, "Desktop"));
}
private void fontLoad()
@@ -359,11 +365,6 @@ namespace TimeHACK.OS.Win95
}
}
- private void AddressBookToolStripMenuItem_Click(object sender, EventArgs e)
- {
-
- }
-
private void WindowsExplorerToolStripMenuItem1_Click(object sender, EventArgs e)
{
FileDialogBoxManager.IsInOpenDialog = false;
@@ -460,7 +461,14 @@ namespace TimeHACK.OS.Win95
{
// Update the Desktop icons
- DesktopController.ViewDesktopIcons(BaseIcons, ref desktopicons, Path.Combine(ProfileWindowsDirectory, "Desktop"));
+ DesktopController.RefreshDesktopIcons(new ListViewItem[] { new System.Windows.Forms.ListViewItem("My Computer", 0),
+ new System.Windows.Forms.ListViewItem("Network Neighborhood", 5),
+ new System.Windows.Forms.ListViewItem("Inbox", 3),
+ new System.Windows.Forms.ListViewItem("Recycle Bin", 7),
+ new System.Windows.Forms.ListViewItem("Internet Explorer", 2),
+ new System.Windows.Forms.ListViewItem("Online Services", 1),
+ new System.Windows.Forms.ListViewItem("Set Up The Microsoft Network", 4),
+ new System.Windows.Forms.ListViewItem("Outlook Express", 6) }, ref desktopicons, Path.Combine(ProfileWindowsDirectory, "Desktop"));
}
}
public class MyRenderer : ToolStripProfessionalRenderer