diff options
| author | JayXKanz666 <[email protected]> | 2017-07-02 22:44:11 +0200 |
|---|---|---|
| committer | JayXKanz666 <[email protected]> | 2017-07-02 22:44:11 +0200 |
| commit | 71ec75dc79e2b5632216dc801dfeaf7510e25210 (patch) | |
| tree | 855e94fb60bbdaf1fbd3427ef8f46193fd22a4d7 /TimeHACK.Main/OS/Win95 | |
| parent | 3de51a2e1b9224e8a8355e3945e458e1651821a9 (diff) | |
| download | histacom2-71ec75dc79e2b5632216dc801dfeaf7510e25210.tar.gz histacom2-71ec75dc79e2b5632216dc801dfeaf7510e25210.tar.bz2 histacom2-71ec75dc79e2b5632216dc801dfeaf7510e25210.zip | |
Added lots of features to WinClassicTerminal.cs
-Added CMD redirection
-Added menubar that was missing
-And more (look at the source :P)
Diffstat (limited to 'TimeHACK.Main/OS/Win95')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 10 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs | 4 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs | 6 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs | 8 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs | 2 |
5 files changed, 15 insertions, 15 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 6a443dd..c1b8601 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -109,7 +109,7 @@ namespace TimeHACK.OS.Win95 private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e)
{
TestApp test = new TestApp();
- WinClassic app = wm.startWin95(test, "TestApp", null, true, true);
+ WinClassic app = wm.StartWin95(test, "TestApp", null, true, true);
AddTaskBarItem(app, app.Tag.ToString(), "TestApp", null);
app.BringToFront();
startmenu.Hide();
@@ -118,7 +118,7 @@ namespace TimeHACK.OS.Win95 private void downloaderTestToolStripMenuItem_Click(object sender, EventArgs e)
{
WinClassicDownloader opendownload = new WinClassicDownloader();
- WinClassic app = wm.startWin95(opendownload, "Downloader", null, false, true);
+ WinClassic app = wm.StartWin95(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Survive The Day";
AddTaskBarItem(app, app.Tag.ToString(), "Downloader", null);
@@ -130,7 +130,7 @@ namespace TimeHACK.OS.Win95 private void installerTestToolStripMenuItem_Click(object sender, EventArgs e)
{
WinClassicInstaller openinstaller = new WinClassicInstaller();
- WinClassic app = wm.startWin95(openinstaller, "Installer", null, false, true);
+ WinClassic app = wm.StartWin95(openinstaller, "Installer", null, false, true);
AddTaskBarItem(app, app.Tag.ToString(), "Installer", null);
@@ -145,7 +145,7 @@ namespace TimeHACK.OS.Win95 private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e)
{
- WinClassic app = wm.startInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info);
+ WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info);
app.BringToFront();
startmenu.Hide();
@@ -153,7 +153,7 @@ namespace TimeHACK.OS.Win95 private void WebChatToolStripMenuItem_Click(object sender, EventArgs e)
{
WebChat1998 wc = new WebChat1998();
- WinClassic app = wm.startWin95(wc, "Web Chat 1998", null, true, true);
+ WinClassic app = wm.StartWin95(wc, "Web Chat 1998", null, true, true);
AddTaskBarItem(app, app.Tag.ToString(), "Web Chat 1998", null);
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs index 4c76a77..a743636 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs @@ -26,7 +26,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer(); WinClassicTerminal Console = new WinClassicTerminal(); - WinClassic app = wm.startWin95(Console, "MS-DOS Prompt", null, true, true); + WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); Console.WriteLine("telnet> 104.27.135.159 Connecting..."); @@ -51,7 +51,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story public static void continueObjective() { WinClassicTerminal Console = new WinClassicTerminal(); - wm.startWin95(Console, "MS-DOS Prompt", null, true, true); + wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); Application.DoEvents(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs index f3d8dde..8fcc79c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs @@ -202,7 +202,7 @@ this.button1.Text = "Login"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.Button1_Click); - this.button1.Paint += (sender, args) => Engine.Paintbrush.paintClassicBorders(sender, args, 2); + this.button1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); // // txtscreenname // @@ -241,7 +241,7 @@ this.button2.Text = "Speak"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.Button2_Click); - this.button2.Paint += (sender, args) => Engine.Paintbrush.paintClassicBorders(sender, args, 2); + this.button2.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); // // button3 // @@ -254,7 +254,7 @@ this.button3.Text = "Paul"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.Button3_Click); - this.button3.Paint += (sender, args) => Engine.Paintbrush.paintClassicBorders(sender, args, 2); + this.button3.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); // // button4 // diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs index 5c18285..8af7099 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs @@ -52,10 +52,10 @@ namespace TimeHACK.OS.Win95.Win95Apps }
private void Button1_Click(object sender, EventArgs e)
{
- if (txtscreenname.Text == "") { wm.startInfobox95("Invalid Username", "Your username cannot be blank.", Properties.Resources.Win95Warning); return; }
- if (txtscreenname.Text.Length > 12) { wm.startInfobox95("Invalid Username", "Your username needs to be less than 12 characters.", Properties.Resources.Win95Warning); return; }
- if (txtscreenname.Text.Contains(" ")) { wm.startInfobox95("Invalid Username", "Your username cannot contain spaces.", Properties.Resources.Win95Warning); return; }
- if (txtscreenname.Text == "SkyHigh" | txtscreenname.Text == "rain49" | txtscreenname.Text == "12padams") { wm.startInfobox95("Invalid Username", "That username is already taken.", Properties.Resources.Win95Warning); return; }
+ if (txtscreenname.Text == "") { wm.StartInfobox95("Invalid Username", "Your username cannot be blank.", Properties.Resources.Win95Warning); return; }
+ if (txtscreenname.Text.Length > 12) { wm.StartInfobox95("Invalid Username", "Your username needs to be less than 12 characters.", Properties.Resources.Win95Warning); return; }
+ if (txtscreenname.Text.Contains(" ")) { wm.StartInfobox95("Invalid Username", "Your username cannot contain spaces.", Properties.Resources.Win95Warning); return; }
+ if (txtscreenname.Text == "SkyHigh" | txtscreenname.Text == "rain49" | txtscreenname.Text == "12padams") { wm.StartInfobox95("Invalid Username", "That username is already taken.", Properties.Resources.Win95Warning); return; }
ParentForm.AcceptButton = button2;
TitleScreen.username = txtscreenname.Text;
login.Hide();
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs index e3423a8..57bff66 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs @@ -123,7 +123,7 @@ namespace TimeHACK.OS.Win95.Win95Apps { WinClassicDownloader opendownload = new WinClassicDownloader(); WindowManager wm = new WindowManager(); - wm.startWin95(opendownload, "Downloader", null, false, true); + wm.StartWin95(opendownload, "Downloader", null, false, true); opendownload.appName.Text = "Downloading: Web Chat"; } |
