aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-08-29 20:33:11 -0600
committerAShifter <[email protected]>2017-08-29 20:33:11 -0600
commit59505ed4dd131afbd18c0b3e660c8c72815ba5a2 (patch)
treee9ac99508869680b2712219596a44f406ae2d860 /Histacom2/OS/Win95/Win95Apps
parentb1689dea36e46933280bfcc0d186746dd6210c0f (diff)
downloadhistacom2-59505ed4dd131afbd18c0b3e660c8c72815ba5a2.tar.gz
histacom2-59505ed4dd131afbd18c0b3e660c8c72815ba5a2.tar.bz2
histacom2-59505ed4dd131afbd18c0b3e660c8c72815ba5a2.zip
Add WinXP and MultiOS WM
WM is currently working, though is in the middle of modification to work with multiple operating systems. Windows XP window template as well as resources have also been added, though window moving code has not been added yet.
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/IE4Sites/12padams1998.cs6
-rw-r--r--Histacom2/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs4
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs2
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs2
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs24
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs8
6 files changed, 23 insertions, 23 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/IE4Sites/12padams1998.cs b/Histacom2/OS/Win95/Win95Apps/IE4Sites/12padams1998.cs
index be6ab95..bedfe56 100644
--- a/Histacom2/OS/Win95/Win95Apps/IE4Sites/12padams1998.cs
+++ b/Histacom2/OS/Win95/Win95Apps/IE4Sites/12padams1998.cs
@@ -30,7 +30,7 @@ namespace Histacom2.OS.Win95.Win95Apps.IE4Sites
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: FTP Client";
opendownload.amountToDL = 56;
}
@@ -39,7 +39,7 @@ namespace Histacom2.OS.Win95.Win95Apps.IE4Sites
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Web Chat 1998";
opendownload.amountToDL = 35;
}
@@ -141,7 +141,7 @@ namespace Histacom2.OS.Win95.Win95Apps.IE4Sites
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Guess The Number V1";
opendownload.amountToDL = 16;
}
diff --git a/Histacom2/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs b/Histacom2/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
index 9b6595c..2a03c7e 100644
--- a/Histacom2/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
+++ b/Histacom2/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
@@ -123,7 +123,7 @@ namespace Histacom2.OS.Win95.Win95Apps
private void bestTimesToolStripMenuItem_Click(object sender, EventArgs e)
{
WindowManager wm = new WindowManager();
- wm.StartWin95(new MineBestTimes(), "Best Times", null, false, false, true, false);
+ wm.Init(new MineBestTimes(), "Best Times", null, false, false, true, false);
}
@@ -165,7 +165,7 @@ namespace Histacom2.OS.Win95.Win95Apps
private void customToolStripMenuItem_Click(object sender, EventArgs e)
{
level = "custom";
- new WindowManager().StartWin95(new CustomMinefield(this), "Custom Field", null, false, false, true, false);
+ new WindowManager().Init(new CustomMinefield(this), "Custom Field", null, false, false, true, false);
}
}
}
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs
index b988092..41f7c35 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs
@@ -39,7 +39,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
public static async void ContinueObjective()
{
WinClassicTerminal Console = new WinClassicTerminal(true);
- WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true);
+ WinClassic app = wm.Init(Console, "MS-DOS Prompt", null, true, true);
Console.WriteLine("telnet> 104.27.135.159 Connecting...");
await Task.Delay(2500);
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
index b72c576..5f71ce4 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
@@ -17,7 +17,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
{
WinClassicTerminal Console = new WinClassicTerminal(true);
Random r = new Random();
- WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true);
+ WinClassic app = wm.Init(Console, "MS-DOS Prompt", null, true, true);
Console.WriteLine("telnet> 185.152.46.51 Connecting...");
await Task.Delay(2500);
diff --git a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
index d7a10a8..9c7e2a3 100644
--- a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
@@ -225,7 +225,7 @@ namespace Histacom2.OS.Win95.Win95Apps
WinClassicNotepad np = new WinClassicNotepad();
np.mainText.Text = FileDialogBoxManager.ReadTextFile(fileDir);
np.CurrentFilePath = fileDir;
- WinClassic app = wm.StartWin95(np, "Notepad", Properties.Resources.Win95IconNotepad, true, true);
+ WinClassic app = wm.Init(np, "Notepad", Properties.Resources.Win95IconNotepad, true, true);
Program.AddTaskbarItem(app, app.Tag.ToString(), "Notepad", Properties.Resources.Win95IconNotepad);
break;
@@ -233,7 +233,7 @@ namespace Histacom2.OS.Win95.Win95Apps
WinClassicWordPad wp = new WinClassicWordPad();
wp.mainText.LoadFile(fileDir);
wp.CurrentFilePath = fileDir;
- WinClassic app2 = wm.StartWin95(wp, "Wordpad", Properties.Resources.Win95IconWordpad, true, true);
+ WinClassic app2 = wm.Init(wp, "Wordpad", Properties.Resources.Win95IconWordpad, true, true);
Program.AddTaskbarItem(app2, app2.Tag.ToString(), "Wordpad", Properties.Resources.Win95IconWordpad);
break;
@@ -250,11 +250,11 @@ namespace Histacom2.OS.Win95.Win95Apps
switch (appname.ToLower())
{
case "explorer":
- WinClassic app = wm.StartWin95(new Win95WindowsExplorer(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true);
+ WinClassic app = wm.Init(new Win95WindowsExplorer(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true);
Program.AddTaskbarItem(app, app.Tag.ToString(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer);
break;
case "calc":
- WinClassic appCalc = wm.StartWin95(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, true, true);
+ WinClassic appCalc = wm.Init(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, true, true);
Program.AddTaskbarItem(appCalc, appCalc.Tag.ToString(), "Calculator", Properties.Resources.WinClassicCalc);
Program.nonimportantapps.Add(appCalc);
@@ -263,7 +263,7 @@ namespace Histacom2.OS.Win95.Win95Apps
break;
case "notepad":
- WinClassic appNP = wm.StartWin95(new WinClassicNotepad(), "Notepad", Properties.Resources.Win95IconNotepad_2, true, true);
+ WinClassic appNP = wm.Init(new WinClassicNotepad(), "Notepad", Properties.Resources.Win95IconNotepad_2, true, true);
Program.AddTaskbarItem(appNP, appNP.Tag.ToString(), "Notepad", Properties.Resources.Win95IconNotepad_2);
Program.nonimportantapps.Add(appNP);
@@ -272,7 +272,7 @@ namespace Histacom2.OS.Win95.Win95Apps
break;
case "wordpad":
- WinClassic appWP = wm.StartWin95(new WinClassicWordPad(), "Wordpad", Properties.Resources.Win95WordpadIcon2, true, true);
+ WinClassic appWP = wm.Init(new WinClassicWordPad(), "Wordpad", Properties.Resources.Win95WordpadIcon2, true, true);
Program.AddTaskbarItem(appWP, appWP.Tag.ToString(), "Wordpad", Properties.Resources.Win95WordpadIcon2);
Program.nonimportantapps.Add(appWP);
@@ -282,7 +282,7 @@ namespace Histacom2.OS.Win95.Win95Apps
break;
case "ie":
if (TitleScreen.frm95.ie != null) { wm.StartInfobox95("Error Opening Internet Explorer", "An instance of Internet Explorer 4 is already open.", InfoboxType.Warning, InfoboxButtons.OK); return; }
- TitleScreen.frm95.ie = wm.StartWin95(new WinClassicIE3(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true);
+ TitleScreen.frm95.ie = wm.Init(new WinClassicIE3(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true);
Program.AddTaskbarItem(TitleScreen.frm95.ie, TitleScreen.frm95.ie.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconIE4);
TitleScreen.frm95.ie.BringToFront();
TitleScreen.frm95.ie.FormClosing += new FormClosingEventHandler(TitleScreen.frm95.InternetExplorer4_Closing);
@@ -291,7 +291,7 @@ namespace Histacom2.OS.Win95.Win95Apps
case "web chat setup":
Win95Installer inst = new Win95Installer("Web Chat 1998");
inst.InstallCompleted += (sendr, args) => TitleScreen.frm95.WebChatToolStripMenuItem.Visible = true;
- WinClassic appInstaller = wm.StartWin95(inst, "Web Chat Setup", null, true, true);
+ WinClassic appInstaller = wm.Init(inst, "Web Chat Setup", null, true, true);
Program.AddTaskbarItem(appInstaller, appInstaller.Tag.ToString(), "Web Chat Setup", null);
appInstaller.BringToFront();
@@ -305,7 +305,7 @@ namespace Histacom2.OS.Win95.Win95Apps
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);
+ WinClassic appFtp = wm.Init(instFtp, "FTP Client Setup", null, true, true);
Program.AddTaskbarItem(appFtp, appFtp.Tag.ToString(), "FTP Client Setup", null);
appFtp.BringToFront();
@@ -319,7 +319,7 @@ namespace Histacom2.OS.Win95.Win95Apps
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);
+ WinClassic appTd = wm.Init(instTd, "Time Distorter Setup", null, true, true);
Program.AddTaskbarItem(appTd, appTd.Tag.ToString(), "Time Distorter Setup", null);
appTd.BringToFront();
@@ -337,13 +337,13 @@ namespace Histacom2.OS.Win95.Win95Apps
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);
+ WinClassic appGtn = wm.Init(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);
+ WinClassic appGTN = wm.Init(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);
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
index 1488808..b6195ae 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
@@ -88,14 +88,14 @@ namespace Histacom2.OS.Win95.Win95Apps
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: FTP Client";
}
else if (objListViewItem.Text == "Web Chat Setup.exe")
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Web Chat 1998";
opendownload.amountToDL = 35;
}
@@ -103,14 +103,14 @@ namespace Histacom2.OS.Win95.Win95Apps
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Time Distorter 0.1";
}
else if (objListViewItem.Text == "Guess The Number V1 Setup.exe")
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
+ wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Guess The Number V1";
opendownload.amountToDL = 16;
}