diff options
Diffstat (limited to 'TimeHACK.Main/OpenApplication.cs')
| -rw-r--r-- | TimeHACK.Main/OpenApplication.cs | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/TimeHACK.Main/OpenApplication.cs b/TimeHACK.Main/OpenApplication.cs index 3586a56..b3e7ebd 100644 --- a/TimeHACK.Main/OpenApplication.cs +++ b/TimeHACK.Main/OpenApplication.cs @@ -26,7 +26,7 @@ namespace TimeHACK switch (appName.ToLower()) { case "notepad": - toReturn = wm.startWin95(new WinClassicNotepad(), "Notepad", Properties.Resources.Win95IconNotepad, true, true); + toReturn = wm.StartWin95(new WinClassicNotepad(), "Notepad", Properties.Resources.Win95IconNotepad, true, true); Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "Notepad", Properties.Resources.Win95IconNotepad); Program.nonimportantapps.Add(toReturn); @@ -37,7 +37,7 @@ namespace TimeHACK break; case "wordpad": - toReturn = wm.startWin95(new WinClassicWordPad(), "Wordpad", Properties.Resources.Win95IconWordpad, true, true); + toReturn = wm.StartWin95(new WinClassicWordPad(), "Wordpad", Properties.Resources.Win95IconWordpad, true, true); Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "Wordpad", Properties.Resources.Win95IconWordpad); Program.nonimportantapps.Add(toReturn); @@ -46,7 +46,7 @@ namespace TimeHACK break; case "addressbook": - toReturn = wm.startWin95(new WinClassicAddressBook(), "Address Book", Properties.Resources.WinClassicAddressBook, true, true); + toReturn = wm.StartWin95(new WinClassicAddressBook(), "Address Book", Properties.Resources.WinClassicAddressBook, true, true); Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "Address Book", Properties.Resources.WinClassicAddressBook); Program.nonimportantapps.Add(toReturn); @@ -55,7 +55,7 @@ namespace TimeHACK break; case "ie4": - toReturn = wm.startWin95(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconNotepad, true, true); + toReturn = wm.StartWin95(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconNotepad, true, true); Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconNotepad); break; @@ -63,7 +63,7 @@ namespace TimeHACK FileDialogBoxManager.IsInOpenDialog = false; FileDialogBoxManager.IsInSaveDialog = false; WinClassicWindowsExplorer we = new WinClassicWindowsExplorer(); - WinClassic app = wm.startWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true); + WinClassic app = wm.StartWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true); Program.AddTaskbarItem(app, app.Tag.ToString(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer); Program.nonimportantapps.Add(app); @@ -75,7 +75,7 @@ namespace TimeHACK break; case "survivetheday": TimeHACK.OS.Win2K.Win2KApps.SurviveTheDay std = new TimeHACK.OS.Win2K.Win2KApps.SurviveTheDay(); - toReturn = wm.startWin95(std, "Survive The Day", null, false, false); + toReturn = wm.StartWin95(std, "Survive The Day", null, false, false); Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "Survive The Day", null); Program.nonimportantapps.Add(toReturn); @@ -87,12 +87,20 @@ namespace TimeHACK break; case "webchat1998": WebChat1998 wc = new WebChat1998(); - toReturn = wm.startWin95(wc, "Web Chat 1998", null, true, true); + toReturn = wm.StartWin95(wc, "Web Chat 1998", null, true, true); Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "Web Chat 1998", null); toReturn.BringToFront(); break; + case "msdos": + WinClassicTerminal msdos = new WinClassicTerminal(); + toReturn = wm.StartWin95(msdos, "MS-DOS Prompt", Properties.Resources.MS_DOS, true, true, false); + + Program.AddTaskbarItem(toReturn, toReturn.Tag.ToString(), "MS-DOS Prompt", Properties.Resources.MS_DOS); + toReturn.BringToFront(); + + break; } } } |
