From 110089e0d7fcbc454dc55c0619ec4ccebc1a7e85 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sun, 23 Jul 2017 16:22:32 +0100 Subject: Realistic Desktop is finished! --- .../OS/Win95/Win95Apps/Win95WindowsExplorer.cs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs index 91a44cc..4777dae 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs @@ -22,7 +22,7 @@ namespace TimeHACK.OS.Win95.Win95Apps public string onlyViewExtension = ""; string ToReplaceWith = ProfileDirectory; - string CurrentDirectory = ProfileMyComputerDirectory; + public string CurrentDirectory = ProfileMyComputerDirectory; string OldLabelText; string CurrentCopyFile; @@ -200,7 +200,7 @@ namespace TimeHACK.OS.Win95.Win95Apps diskView.Nodes.Add(new TreeNode("Desktop", 0, 0, desktoparray)); } - void OpenFile(string fileDir) + public void OpenFile(string fileDir) { try { @@ -257,6 +257,22 @@ namespace TimeHACK.OS.Win95.Win95Apps TitleScreen.frm95.ie.BringToFront(); TitleScreen.frm95.ie.FormClosing += new FormClosingEventHandler(TitleScreen.frm95.InternetExplorer4_Closing); + break; + case "web chat setup": + Win95Installer inst = new Win95Installer("Web Chat 1998"); + inst.InstallCompleted += (sendr, args) => TitleScreen.frm95.WebChatToolStripMenuItem.Visible = true; + WinClassic appInstaller = wm.StartWin95(inst, "Web Chat Setup", null, true, true); + Program.AddTaskbarItem(appInstaller, appInstaller.Tag.ToString(), "Web Chat Setup", null); + appInstaller.BringToFront(); + + break; + case "ftp client setup": + Win95Installer instFtp = new Win95Installer("FTP Client"); + instFtp.InstallCompleted += (sendr, args) => TitleScreen.frm95.FTPClientToolStripMenuItem.Visible = true; + WinClassic appFtp = wm.StartWin95(instFtp, "FTP Client Setup", null, true, true); + Program.AddTaskbarItem(appFtp, appFtp.Tag.ToString(), "FTP Client Setup", null); + appFtp.BringToFront(); + break; case "iebrokeninstaller": wm.StartInfobox95("Internet Explorer Installation", "Installation Failed: The INF file was not found", Properties.Resources.Win95Error); -- cgit v1.2.3