aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/WinClassicForms
diff options
context:
space:
mode:
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";
+ }
}
}