From 8a8a895afa16a9b7cec499b5a25746e37ceb4cb4 Mon Sep 17 00:00:00 2001 From: Michael Webb Date: Sat, 6 Apr 2019 16:47:15 -0500 Subject: [PATCH] Fix bug where the Online Services on Windows 98 would break Histacom (see issue #3) --- Histacom2/OS/Win95/Win95.cs | 2 +- Histacom2/OS/Win98/Win98.cs | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Histacom2/OS/Win95/Win95.cs b/Histacom2/OS/Win95/Win95.cs index c0f3622..bf2ebb4 100644 --- a/Histacom2/OS/Win95/Win95.cs +++ b/Histacom2/OS/Win95/Win95.cs @@ -291,7 +291,7 @@ private void desktopicons_DoubleClick(object sender, EventArgs e) //wm.StartInfobox95("Win32 Application", "That is not a valid Win32 Application.", Properties.Resources.Win95Error); break; case "Online Services": - wm.StartInfobox95("Caught it!", "If you were to run this, the game would crash!\nLuckily, it won't crash this time!", InfoboxType.Error, InfoboxButtons.OK); + wm.StartInfobox95("Online Services", "This feature isn't implemented yet.", InfoboxType.Error, InfoboxButtons.OK); break; default: // It is an actual file on the disk diff --git a/Histacom2/OS/Win98/Win98.cs b/Histacom2/OS/Win98/Win98.cs index 3a0b216..36939a8 100644 --- a/Histacom2/OS/Win98/Win98.cs +++ b/Histacom2/OS/Win98/Win98.cs @@ -294,12 +294,14 @@ private void desktopicons_DoubleClick(object sender, EventArgs e) else if (objListViewItem.Text == "Network Neighborhood") { // Alex's TODO here - } else if (objListViewItem.Text == "Recycle Bin") { // Another thing you may need to digital poke Alex about doing. - + } + else if (objListViewItem.Text == "Online Services") + { + wm.StartInfobox95("Online Services", "This feature isn't implemented yet.", InfoboxType.Error, InfoboxButtons.OK); } else if (objListViewItem.Text == "Set Up The Microsoft Network") {