diff options
| author | lempamo <[email protected]> | 2017-10-21 00:51:46 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-10-21 00:51:46 -0400 |
| commit | 54a3e8fe71f936580339e4a4a6fb650d57fbb5d1 (patch) | |
| tree | 3d961d1d410a852561b31b13f951e4b4a4666c87 /Histacom2/OS/WinXPBad/WinXPBad.cs | |
| parent | 70c63256ccab2b3cfc6a0dc1b0591b26932a2d10 (diff) | |
| download | histacom2-54a3e8fe71f936580339e4a4a6fb650d57fbb5d1.tar.gz histacom2-54a3e8fe71f936580339e4a4a6fb650d57fbb5d1.tar.bz2 histacom2-54a3e8fe71f936580339e4a4a6fb650d57fbb5d1.zip | |
more xp start things
Diffstat (limited to 'Histacom2/OS/WinXPBad/WinXPBad.cs')
| -rw-r--r-- | Histacom2/OS/WinXPBad/WinXPBad.cs | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Histacom2/OS/WinXPBad/WinXPBad.cs b/Histacom2/OS/WinXPBad/WinXPBad.cs index 4968684..67985be 100644 --- a/Histacom2/OS/WinXPBad/WinXPBad.cs +++ b/Histacom2/OS/WinXPBad/WinXPBad.cs @@ -82,19 +82,15 @@ namespace Histacom2.OS.WinXPBad // 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")); + ListViewItem lv = new ListViewItem("Recycle Bin", 7); + desktopicons.Items.Add(lv); + lv.Position = new Point(20, 20); + desktopicons.Invalidate(); + //DesktopController.RefreshDesktopIcons(new ListViewItem[] { new System.Windows.Forms.ListViewItem("Recycle Bin", 7) }, ref desktopicons, Path.Combine(ProfileWindowsDirectory, "Desktop")); } private void fontLoad() { - this.taskbartime.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); this.desktopicons.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); } @@ -449,6 +445,8 @@ namespace Histacom2.OS.WinXPBad private void desktopupdate_Tick(object sender, EventArgs e) { + desktopicons.Items[0].Position = new Point(this.Width - 50, this.Height - 80); + /* 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), @@ -457,6 +455,7 @@ namespace Histacom2.OS.WinXPBad 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 FolderToolStripMenuItem_Click(object sender, EventArgs e) |
