From 88711b440b3a55d09118d2c42b1bb8930936eb90 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 6 Jul 2017 13:49:20 -0400 Subject: And you can install and open FTP Client --- TimeHACK.Main/OS/Win95/Win95.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'TimeHACK.Main/OS/Win95/Win95.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index c5e7799..32d619f 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -285,6 +285,15 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } + else if (objListViewItem.Text == "FTP Client Setup") + { + Win95Installer inst = new Win95Installer("FTP Client"); + inst.InstallCompleted += (sendr, args) => WebChatToolStripMenuItem.Visible = true; + WinClassic app = wm.StartWin95(inst, "FTP Client Setup", null, true, true); + AddTaskBarItem(app, app.Tag.ToString(), "FTP Client Setup", null); + app.BringToFront(); + startmenu.Hide(); + } } } } @@ -438,6 +447,14 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } + private void FTPClientToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new WinClassicFTPClient(), "FTP Client", null, true, true); + + AddTaskBarItem(app, app.Tag.ToString(), "FTP Client", null); + app.BringToFront(); + startmenu.Hide(); + } } public class MyRenderer : ToolStripProfessionalRenderer { -- cgit v1.2.3