aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-01 22:17:57 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-01 22:17:57 +0100
commitda6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b (patch)
treec980ac4786a2528a9d98290f099c8a388dbfad9a /TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
parent971683c5f7116d754d209a9debac8e0a214889dc (diff)
downloadhistacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.tar.gz
histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.tar.bz2
histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.zip
Moar stuff
Diffstat (limited to 'TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs')
-rw-r--r--TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
index 2c84133..c2b53bc 100644
--- a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
+++ b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs
@@ -110,13 +110,27 @@ namespace TimeHACK.OS.Win95.Win95Apps
}
foreach (String str in Directory.GetFiles(currentDirectory))
{
+ // Get app Icon
+
+ int AppIcon = 1;
+
+ switch (Path.GetFileName(str))
+ {
+ case ".exe":
+ break;
+ }
+
if (IsFileOpenDialog == true || IsFileSaveDialog == true)
{
if (!(Path.GetFileName(str) == "_data.info"))
{
if (new FileInfo(str).Extension == onlyViewExtension)
{
- this.mainView.Items.Add(Path.GetFileName(str), 2);
+ if (new FileInfo(str).Extension == ".exe")
+ {
+ this.mainView.Items.Add(Path.GetFileName(str), 2);
+ }
+
}
}
} else {