aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-03-28 14:50:26 -0400
committerlempamo <[email protected]>2017-03-28 14:50:26 -0400
commit6ad331d70733a8d0cfc6535c7e71e4f8bbf4da47 (patch)
tree4ad9f364db8f096e0504a24424638344bacd49bd
parente053882e86b50497ad851ec86f8795a7a7c4c607 (diff)
downloadhistacom2-6ad331d70733a8d0cfc6535c7e71e4f8bbf4da47.tar.gz
histacom2-6ad331d70733a8d0cfc6535c7e71e4f8bbf4da47.tar.bz2
histacom2-6ad331d70733a8d0cfc6535c7e71e4f8bbf4da47.zip
web chat downloader
-rw-r--r--.vs/TimeHACK/v14/.suobin122368 -> 122368 bytes
-rw-r--r--TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs1
-rw-r--r--TimeHACK.Main/WinClassicForms/WinClassicIE4.cs13
-rw-r--r--TimeHACK.Main/Windows95.cs2
4 files changed, 15 insertions, 1 deletions
diff --git a/.vs/TimeHACK/v14/.suo b/.vs/TimeHACK/v14/.suo
index 9b524f3..5cf99a8 100644
--- a/.vs/TimeHACK/v14/.suo
+++ b/.vs/TimeHACK/v14/.suo
Binary files differ
diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs
index f167732..1445e04 100644
--- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs
+++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs
@@ -631,6 +631,7 @@
this.Button25.TabIndex = 6;
this.Button25.Text = "Download";
this.Button25.UseVisualStyleBackColor = false;
+ this.Button25.Click += new System.EventHandler(this.Button25_Click);
//
// Label43
//
diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs
index 61cd5a1..1f10c34 100644
--- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs
+++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs
@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
+using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
+using TimeHACK.Engine;
namespace TimeHACK.WinClassicForms
{
@@ -137,7 +139,8 @@ namespace TimeHACK.WinClassicForms
private void Button1_Click(object sender, EventArgs e)
{
- if (!(historylocation <= 0)) {
+ if (!(historylocation <= 0))
+ {
goToSite(browsinghistory[historylocation - 1], true);
historylocation--;
}
@@ -152,5 +155,13 @@ namespace TimeHACK.WinClassicForms
{
goToSite("www.microsoft.com/internetexplorer4/welcome", false);
}
+
+ private void Button25_Click(object sender, EventArgs e)
+ {
+ WinClassicDownloader opendownload = new WinClassicDownloader();
+ WindowManager wm = new WindowManager();
+ wm.startWinClassic(opendownload, "Downloader", null, false, true, new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))));
+ opendownload.appName.Text = "Downloading: Web Chat";
+ }
}
}
diff --git a/TimeHACK.Main/Windows95.cs b/TimeHACK.Main/Windows95.cs
index f062b7e..fb0d0ca 100644
--- a/TimeHACK.Main/Windows95.cs
+++ b/TimeHACK.Main/Windows95.cs
@@ -13,6 +13,8 @@ namespace TimeHACK
private SoundPlayer startsound;
private SoundPlayer stopsound;
+ public bool webchatInstalled = false;
+
// Init the form
public Windows95()
{