From 6ad331d70733a8d0cfc6535c7e71e4f8bbf4da47 Mon Sep 17 00:00:00 2001 From: lempamo Date: Tue, 28 Mar 2017 14:50:26 -0400 Subject: web chat downloader --- TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs | 1 + TimeHACK.Main/WinClassicForms/WinClassicIE4.cs | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'TimeHACK.Main/WinClassicForms') 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"; + } } } -- cgit v1.2.3