diff options
| author | JayXKanz666 <[email protected]> | 2017-07-08 01:23:47 +0200 |
|---|---|---|
| committer | JayXKanz666 <[email protected]> | 2017-07-08 01:23:47 +0200 |
| commit | fe3d0f5a0ab06ab1964b9463e36f8a1f8b77af37 (patch) | |
| tree | 33020f602d1891cd7ff0a87c18a2d20d05ebbecd /TimeHACK.Main/OS/Win95/Win95.cs | |
| parent | 7f8f13dce6ab5e817b76c82bd5230ad167604276 (diff) | |
| parent | 88711b440b3a55d09118d2c42b1bb8930936eb90 (diff) | |
| download | histacom2-fe3d0f5a0ab06ab1964b9463e36f8a1f8b77af37.tar.gz histacom2-fe3d0f5a0ab06ab1964b9463e36f8a1f8b77af37.tar.bz2 histacom2-fe3d0f5a0ab06ab1964b9463e36f8a1f8b77af37.zip | |
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index c326c64..32d619f 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -238,7 +238,7 @@ namespace TimeHACK.OS.Win95 private void installerTestToolStripMenuItem_Click(object sender, EventArgs e) { - Win95Installer openinstaller = new Win95Installer(); + Win95Installer openinstaller = new Win95Installer("Testing"); WinClassic app = wm.StartWin95(openinstaller, "Installer", null, false, true); AddTaskBarItem(app, app.Tag.ToString(), "Installer", null); @@ -278,13 +278,22 @@ namespace TimeHACK.OS.Win95 } else if (objListViewItem.Text == "Web Chat Setup") { - Win95Installer inst = new Win95Installer(); - inst.installname.Text = "Web Chat 1998"; + Win95Installer inst = new Win95Installer("Web Chat 1998"); + inst.InstallCompleted += (sendr, args) => WebChatToolStripMenuItem.Visible = true; WinClassic app = wm.StartWin95(inst, "Web Chat Setup", null, true, true); AddTaskBarItem(app, app.Tag.ToString(), "Web Chat Setup", null); 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 { |
