diff options
| author | lempamo <[email protected]> | 2017-08-24 10:53:32 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-24 10:53:32 -0400 |
| commit | 24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f (patch) | |
| tree | 79db295b73890523d29518ad1456e3fb3b07d2c2 /Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs | |
| parent | e88b2da2e398f78cc56728ab7ef53ef590f536dd (diff) | |
| download | histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.tar.gz histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.tar.bz2 histacom2-24ccb6a3350ee9a3ed8abea8e6f3eb6fbf45cf7f.zip | |
completed guess the number and other things
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs')
| -rw-r--r-- | Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs index 26bcfc9..a01d044 100644 --- a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs +++ b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs @@ -69,7 +69,10 @@ namespace Histacom2.OS.Win95.Win95Apps Properties.Resources.WinClassicCalcBig, Properties.Resources.WinClassicNotepadBig, Properties.Resources.WinClassicRegedit, // 15 - Properties.Resources.WinClassicWordpad }); + Properties.Resources.WinClassicWordpad, + Properties.Resources.TimeDistorter1, + Properties.Resources.WinClassicGTN, + Properties.Resources.WinClassicFTP }); program.BringToFront(); @@ -282,7 +285,13 @@ namespace Histacom2.OS.Win95.Win95Apps break; case "ftp client setup": Win95Installer instFtp = new Win95Installer("FTP Client"); - instFtp.InstallCompleted += (sendr, args) => TitleScreen.frm95.FTPClientToolStripMenuItem.Visible = true; + instFtp.InstallCompleted += (sendr, args) => + { + SaveDirectoryInfo(ProfileProgramsDirectory, "12padams", true, "12padams", true); + SaveDirectoryInfo(Path.Combine(ProfileProgramsDirectory, "12padams"), "FTP Client", true, "FTP Client", true); + CreateWindowsFile(Path.Combine(ProfileProgramsDirectory, "12padams", "FTP Client"), "ftpclint.exe", "ftp client", 19, 58395); + 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(); @@ -292,6 +301,9 @@ namespace Histacom2.OS.Win95.Win95Apps Win95Installer instTd = new Win95Installer("Time Distorter 0.1"); instTd.InstallCompleted += (sendr, args) => { + SaveDirectoryInfo(ProfileProgramsDirectory, "12padams", true, "12padams", true); + SaveDirectoryInfo(Path.Combine(ProfileProgramsDirectory, "12padams"), "Time Distorter 0.1", true, "Time Distorter 0.1", true); + CreateWindowsFile(Path.Combine(ProfileProgramsDirectory, "12padams", "Time Distorter 0.1"), "tdistort.exe", "time distorter", 17, 23895); TitleScreen.frm95.TimeDistorterToolStripMenuItem.Visible = true; }; WinClassic appTd = wm.StartWin95(instTd, "Time Distorter Setup", null, true, true); @@ -303,6 +315,29 @@ namespace Histacom2.OS.Win95.Win95Apps wm.StartInfobox95("Internet Explorer Installer", "Installation Failed: The INF file was not found", InfoboxType.Error, InfoboxButtons.OK); break; + case "gtnv1 setup": + Win95Installer instGtn = new Win95Installer("Guess The Number V1"); + instGtn.InstallCompleted += (sendr, args) => + { + SaveDirectoryInfo(ProfileProgramsDirectory, "12padams", true, "12padams", true); + SaveDirectoryInfo(Path.Combine(ProfileProgramsDirectory, "12padams"), "Guess The Number V1", true, "Guess The Number V1", true); + CreateWindowsFile(Path.Combine(ProfileProgramsDirectory, "12padams", "Guess The Number V1"), "guessnum.exe", "guess number", 18, 17483); + TitleScreen.frm95.GuessTheNumberToolStripMenuItem.Visible = true; + }; + WinClassic appGtn = wm.StartWin95(instGtn, "Guess The Number Setup", null, true, true); + Program.AddTaskbarItem(appGtn, appGtn.Tag.ToString(), "Guess The Number Setup", null); + appGtn.BringToFront(); + + break; + case "guess number": + WinClassic appGTN = wm.StartWin95(new GuessTheNumber(), "Guess The Number", Properties.Resources.WinClassicGTNIcon, false, true, false, false); + Program.AddTaskbarItem(appGTN, appGTN.Tag.ToString(), "Guess The Number", Properties.Resources.WinClassicGTNIcon); + + Program.nonimportantapps.Add(appGTN); + Program.nonimportantapps[Program.nonimportantapps.Count - 1].BringToFront(); + Program.nonimportantapps[Program.nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(Program.NonImportantApp_Closing); + + break; default: wm.StartInfobox95(path.Replace(ProfileMyComputerDirectory, "C:"), $"{path.Replace(ProfileMyComputerDirectory, "C:")} is not a valid Win32 application.", InfoboxType.Error, InfoboxButtons.OK); break; |
