aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OpenApplication.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-07-02 13:45:58 -0700
committerGitHub <[email protected]>2017-07-02 13:45:58 -0700
commitddbca5032ce763c43894088a5b5c0fba8f035daa (patch)
tree855e94fb60bbdaf1fbd3427ef8f46193fd22a4d7 /TimeHACK.Main/OpenApplication.cs
parent3de51a2e1b9224e8a8355e3945e458e1651821a9 (diff)
parent71ec75dc79e2b5632216dc801dfeaf7510e25210 (diff)
downloadhistacom2-ddbca5032ce763c43894088a5b5c0fba8f035daa.tar.gz
histacom2-ddbca5032ce763c43894088a5b5c0fba8f035daa.tar.bz2
histacom2-ddbca5032ce763c43894088a5b5c0fba8f035daa.zip
Merge pull request #109 from jayxkanz666/master
Added lots of features to WinClassicTerminal.cs
Diffstat (limited to 'TimeHACK.Main/OpenApplication.cs')
-rw-r--r--TimeHACK.Main/OpenApplication.cs22
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;
}
}
}