aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2018-02-21 14:54:21 -0500
committerlempamo <[email protected]>2018-02-21 14:54:21 -0500
commit74892c42ac9afb987b68cc0f17c8fd16e027bc89 (patch)
tree0c0257337deae6864a1d2f8a87aaf407c494143c /Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
parent98f107f49d0a20f4bdf28016b586a9fa3636e866 (diff)
downloadhistacom2-74892c42ac9afb987b68cc0f17c8fd16e027bc89.tar.gz
histacom2-74892c42ac9afb987b68cc0f17c8fd16e027bc89.tar.bz2
histacom2-74892c42ac9afb987b68cc0f17c8fd16e027bc89.zip
incomplete ME
Diffstat (limited to 'Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs')
-rw-r--r--Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs37
1 files changed, 9 insertions, 28 deletions
diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
index 3790d48..b3f1d2b 100644
--- a/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
+++ b/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs
@@ -760,36 +760,17 @@ namespace Histacom2.OS.Win95.Win95Apps
if (File.Exists(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text)))
{
- // Check if it is a regonized file - if so then in Windows 2000/ME it gives a fancy description
+ // lemon note: no more implementation of windows explorer, because holy hell is it hard and buggy
- bool recognized = false;
- string description = "";
-
- if (CurrentSave.CurrentOS == "2000" || CurrentSave.CurrentOS == "ME")
- {
- switch (File.ReadAllText(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text)))
- {
- case "explorer":
- recognized = true;
- description = "Insert a description here...";
- break;
- }
- }
-
- if (recognized)
- {
- // TODO:
- } else {
- InfoDesc.Show();
+ InfoDesc.Show();
- FileInfo fi = new FileInfo(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text));
- txtInfoDescName.Text = mainView.FocusedItem.Text;
- txtInfoDescType.Text = GetDescription(ReturnType(fi.Extension));
- txtInfoDescModified.Text = fi.CreationTime.ToString();
+ FileInfo fi = new FileInfo(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text));
+ txtInfoDescName.Text = mainView.FocusedItem.Text;
+ txtInfoDescType.Text = GetDescription(ReturnType(fi.Extension));
+ txtInfoDescModified.Text = fi.CreationTime.ToString();
- txtInfoDescSize.Show();
- txtInfoDescSize.Text = $"Size: {fi.Length} bytes.";
- }
+ txtInfoDescSize.Show();
+ txtInfoDescSize.Text = $"Size: {fi.Length} bytes.";
} else if (Directory.Exists(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text))) {
txtInfoTip.Hide();
@@ -831,7 +812,7 @@ namespace Histacom2.OS.Win95.Win95Apps
case 11:
return "Image File";
case 12:
- return "Executable File";
+ return "Application";
case 13:
return "Address Book File";
case 21: