aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-06 10:41:05 -0400
committerlempamo <[email protected]>2017-07-06 10:41:05 -0400
commite4ee95004a1655a61355d64818d633bcca00fd52 (patch)
tree8288001fccb67c6e093cae24beacb82ba61f4fb4 /TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
parent6958c950223e1b1db9648f92a40fe7dd925ca466 (diff)
downloadhistacom2-e4ee95004a1655a61355d64818d633bcca00fd52.tar.gz
histacom2-e4ee95004a1655a61355d64818d633bcca00fd52.tar.bz2
histacom2-e4ee95004a1655a61355d64818d633bcca00fd52.zip
Changed Installer and added EULA
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
index 0ae74df..8377d54 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
@@ -12,10 +12,14 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
public partial class Win95Installer : UserControl
{
+ public int installStage = 0;
+
public Win95Installer()
{
InitializeComponent();
label1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ label2.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ checkBox1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
cancelbutton1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
nextbutton1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
backbutton1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
@@ -25,5 +29,25 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
label1.Text.Replace("GenericName", installname.Text);
}
+
+ private void nextbutton1_Click(object sender, EventArgs e)
+ {
+ switch (installStage)
+ {
+ case 0:
+ label1.Hide();
+ panel1.Show();
+ backbutton1.Enabled = true;
+ nextbutton1.Enabled = false;
+ installStage = 1;
+ break;
+ }
+ }
+
+ private void checkBox1_CheckedChanged(object sender, EventArgs e)
+ {
+ if (checkBox1.Checked) nextbutton1.Enabled = true;
+ else nextbutton1.Enabled = false;
+ }
}
}