aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorJayXKanz666 <[email protected]>2017-07-02 22:44:11 +0200
committerJayXKanz666 <[email protected]>2017-07-02 22:44:11 +0200
commit71ec75dc79e2b5632216dc801dfeaf7510e25210 (patch)
tree855e94fb60bbdaf1fbd3427ef8f46193fd22a4d7 /TimeHACK.Main/OS/Win95/Win95Apps
parent3de51a2e1b9224e8a8355e3945e458e1651821a9 (diff)
downloadhistacom2-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/Win95Apps')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs6
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs8
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs2
4 files changed, 10 insertions, 10 deletions
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";
}