aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/WinClassicForms
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-03-28 20:02:41 +0100
committerGitHub <[email protected]>2017-03-28 20:02:41 +0100
commit36f06ca57b06a2b049eeb8260290b0aade62a154 (patch)
treed0cdbdd6a516a671c0a3ea3661e89495bdf30241 /TimeHACK.Main/WinClassicForms
parentfd1b6907708cb9464b971573cd007dcbb3f47092 (diff)
parentcc8bd453b64096f3c0da1b2335701e0ef61191b5 (diff)
downloadhistacom2-36f06ca57b06a2b049eeb8260290b0aade62a154.tar.gz
histacom2-36f06ca57b06a2b049eeb8260290b0aade62a154.tar.bz2
histacom2-36f06ca57b06a2b049eeb8260290b0aade62a154.zip
Merge pull request #14 from lempamo/master
web chat is getting started
Diffstat (limited to 'TimeHACK.Main/WinClassicForms')
-rw-r--r--TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs1
-rw-r--r--TimeHACK.Main/WinClassicForms/WinClassicIE4.cs13
2 files changed, 13 insertions, 1 deletions
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";
+ }
}
}