From 77f783fe2b6999720c900aaf32103bec906f9da9 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 6 Jul 2017 13:17:41 -0400 Subject: You can install WebChat again --- TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs index e3924ee..8178a30 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs @@ -13,9 +13,17 @@ namespace TimeHACK.OS.Win95.Win95Apps public partial class Win95Installer : UserControl { public int installStage = 0; + private string prog; private Timer installbar = new Timer(); - public Win95Installer() + public event EventHandler InstallCompleted; + + protected void OnInstallCompleted(EventArgs e) + { + if (InstallCompleted != null) InstallCompleted(this, e); + } + + public Win95Installer(string progName) { InitializeComponent(); label1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); @@ -45,6 +53,7 @@ namespace TimeHACK.OS.Win95.Win95Apps } else { + OnInstallCompleted(EventArgs.Empty); panel3.Hide(); panel4.Show(); backbutton1.Hide(); -- cgit v1.2.3