aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS
diff options
context:
space:
mode:
Diffstat (limited to 'Histacom2/OS')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs2
-rw-r--r--Histacom2/OS/Win98/Win98.cs44
-rw-r--r--Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs2
-rw-r--r--Histacom2/OS/WinXPBad/WinXPBad.cs4
4 files changed, 14 insertions, 38 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
index e743b30..3f24049 100644
--- a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
@@ -656,7 +656,7 @@ namespace Histacom2.OS.Win95.Win95Apps
private void AboutWindows95ToolStripMenuItem_Click(object sender, EventArgs e)
{
WindowManager wm = new WindowManager();
- wm.StartAboutBox95("Windows 95", "Microsoft Windows 95 Rev B", Properties.Resources.WinClassicAbout95);
+ wm.StartAboutBox95("Windows 95", "Microsoft Windows", Properties.Resources.WinClassicAbout95);
}
private void RenameToolStripMenuItem_Click(object sender, EventArgs e)
diff --git a/Histacom2/OS/Win98/Win98.cs b/Histacom2/OS/Win98/Win98.cs
index ce7cd65..e9a7d60 100644
--- a/Histacom2/OS/Win98/Win98.cs
+++ b/Histacom2/OS/Win98/Win98.cs
@@ -499,21 +499,21 @@ namespace Histacom2.OS.Win98
private void desktopupdate_Tick(object sender, EventArgs e)
{
- 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"));
+ DesktopController.RefreshDesktopIcons(new ListViewItem[] { new ListViewItem("My Computer", 0),
+ new ListViewItem("Network Neighborhood", 5),
+ new ListViewItem("Inbox", 3),
+ new ListViewItem("Recycle Bin", 7),
+ new ListViewItem("Internet Explorer", 2),
+ new ListViewItem("Online Services", 1),
+ new ListViewItem("Set Up The Microsoft Network", 4),
+ new ListViewItem("Outlook Express", 6) }, ref desktopicons, Path.Combine(ProfileWindowsDirectory, "Desktop"));
}
private void FolderToolStripMenuItem_Click(object sender, EventArgs e)
{
if (Directory.Exists(Path.Combine(ProfileWindowsDirectory, "Desktop", "New Folder")))
{
- wm.StartAboutBox95("Windows Explorer", "A folder called New Folder already exists - please rename it.", Properties.Resources.Win95Error);
+ wm.StartInfobox95("Windows Explorer", "A folder called New Folder already exists - please rename it.", InfoboxType.Error, InfoboxButtons.OK);
}
else
{
@@ -525,7 +525,7 @@ namespace Histacom2.OS.Win98
{
if (File.Exists(Path.Combine(ProfileWindowsDirectory, "Desktop", "New Text Document.txt")))
{
- wm.StartAboutBox95("Windows Explorer", "A folder called New Text Document already exists - please rename it.", Properties.Resources.Win95Error);
+ wm.StartInfobox95("Windows Explorer", "A folder called New Text Document already exists - please rename it.", InfoboxType.Error, InfoboxButtons.OK);
}
else
{
@@ -573,29 +573,5 @@ namespace Histacom2.OS.Win98
}
}
}
- public class MyRenderer : ToolStripProfessionalRenderer
- {
- public MyRenderer() : base(new MyColors()) { }
- }
-
- public class MyColors : ProfessionalColorTable
- {
- public override Color MenuItemSelectedGradientBegin
- {
- get { return Color.Navy; }
- }
- public override Color MenuItemSelectedGradientEnd
- {
- get { return Color.Navy; }
- }
- public override Color MenuItemPressedGradientBegin
- {
- get { return Color.Navy; }
- }
- public override Color MenuItemPressedGradientEnd
- {
- get { return Color.Navy; }
- }
- }
}
diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
index bc121e6..e02fe00 100644
--- a/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
+++ b/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
@@ -626,7 +626,7 @@ namespace Histacom2.OS.Win95.Win95Apps
private void AboutWindows95ToolStripMenuItem_Click(object sender, EventArgs e)
{
WindowManager wm = new WindowManager();
- wm.StartAboutBox95("Windows 98", "Microsoft Windows 98", Properties.Resources.WinClassicAbout95);
+ wm.StartAboutBox98("Windows 98", "Microsoft (R) Windows", Properties.Resources.WinClassicAbout95);
}
private void RenameToolStripMenuItem_Click(object sender, EventArgs e)
diff --git a/Histacom2/OS/WinXPBad/WinXPBad.cs b/Histacom2/OS/WinXPBad/WinXPBad.cs
index 4326d99..5e368fb 100644
--- a/Histacom2/OS/WinXPBad/WinXPBad.cs
+++ b/Histacom2/OS/WinXPBad/WinXPBad.cs
@@ -231,7 +231,7 @@ namespace Histacom2.OS.WinXPBad
{
if (Directory.Exists(Path.Combine(ProfileWindowsDirectory, "Desktop", "New Folder")))
{
- wm.StartAboutBox95("Windows Explorer", "A folder called New Folder already exists - please rename it.", Properties.Resources.Win95Error);
+ //wm.StartAboutBox95("Windows Explorer", "A folder called New Folder already exists - please rename it.", Properties.Resources.Win95Error);
}
else
{
@@ -243,7 +243,7 @@ namespace Histacom2.OS.WinXPBad
{
if (File.Exists(Path.Combine(ProfileWindowsDirectory, "Desktop", "New Text Document.txt")))
{
- wm.StartAboutBox95("Windows Explorer", "A folder called New Text Document already exists - please rename it.", Properties.Resources.Win95Error);
+ //wm.StartAboutBox95("Windows Explorer", "A folder called New Text Document already exists - please rename it.", Properties.Resources.Win95Error);
}
else
{