aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-08 16:04:01 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-08 16:04:01 +0100
commita52f16bf447268d26ea30228a5560435381b6e0b (patch)
tree515a2b52b533b0070559f453c660859c1ba2b877 /TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs
parentf095f4efd9e2dd217045f65b7b33594b16fb0125 (diff)
parent88711b440b3a55d09118d2c42b1bb8930936eb90 (diff)
downloadhistacom2-a52f16bf447268d26ea30228a5560435381b6e0b.tar.gz
histacom2-a52f16bf447268d26ea30228a5560435381b6e0b.tar.bz2
histacom2-a52f16bf447268d26ea30228a5560435381b6e0b.zip
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs')
-rw-r--r--TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs145
1 files changed, 0 insertions, 145 deletions
diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs b/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs
deleted file mode 100644
index a15b1e1..0000000
--- a/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs
+++ /dev/null
@@ -1,145 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using TimeHACK.OS.Win95;
-
-namespace TimeHACK.WinClassicForms
-{
- public partial class WinClassicInstaller : UserControl
- {
- public WinClassicInstaller()
- {
- InitializeComponent();
- }
-
- string programtoinstall;
-
- private void WinClassicInstaller_Load(object sender, EventArgs e)
- {
- welcome.Show();
- programtoinstall = installname.Text;
- installname.Hide();
- //programname.Text = (programtoinstall & " Setup")
- Label1.Text = ("Setup Wizard ");
- Label2.Text = ("Welcome To " + programtoinstall);
- Label3.Text = ("Click Next to continue");
- Label4.Text = ("This Wizard will guide you through the installation of " + programtoinstall);
- Label11.Text = ("C:\\Program Files\\ " + programtoinstall);
- Label12.Text = ("Ready to start installing " + programtoinstall);
- Label13.Text = ("Please wait while " + programtoinstall + " is being installed");
- Label14.Text = ("Installing " + programtoinstall);
- Label16.Text = (programtoinstall + " was successfully installed.");
- finishinstallimage.Image = installimage.Image;
- look.Start();
- licenceagreementinstallpic.Image = iconpic.Image;
- suminstallpic.Image = iconpic.Image;
- PictureBox2.Image = iconpic.Image;
- }
-
- private void Button3_Click(object sender, EventArgs e)
- {
- if (Button3.Text == "Finish")
- {
- if (programtoinstall == "Web Chat 1998")
- {
- TitleScreen.frm95.WebChatToolStripMenuItem.Visible = true;
- ((Form)this.TopLevelControl).Close();
- }
- if (programtoinstall == "Guess The Number 2")
- {
- ((Form)this.TopLevelControl).Close();
- //Windows2000.GuessTheNumberToolStripMenuItem.Visible = true;
- }
- if (programtoinstall == "Start Runner 2000")
- {
- ((Form)this.TopLevelControl).Close();
- //Windows2000.StartRunnerToolStripMenuItem.Visible = true;
- }
- if (programtoinstall == "Error Blaster 2000")
- {
- ((Form)this.TopLevelControl).Close();
- //Windows2000.ErrorBlasterToolStripMenuItem.Visible = true;
- }
- if (programtoinstall == "Skindows 95")
- {
- ((Windows95)this.ParentForm.ParentForm).SkindowsToolStripMenuItem.Visible = true;
- ((Form)this.TopLevelControl).Close();
- }
- if (programtoinstall == "Web Chat 2000")
- {
- ((Form)this.TopLevelControl).Close();
- //Windows2000.WebChatToolStripMenuItem.Visible = true;
- }
- if (programtoinstall == "Time Distorter 0.3")
- {
- ((Form)this.TopLevelControl).Close();
- //Windows2000.TimeDistorter03ToolStripMenuItem.Visible = true;
- }
- if (programtoinstall == "Survive The Day")
- {
- ((Form)this.TopLevelControl).Close();
- //Windows2000.SurviveTheDayToolStripMenuItem.Visible = true;
- }
- }
- if (summary.Visible == true & licenseagreement.Visible == false)
- {
- summary.Hide();
- Button3.Hide();
- Timer1.Start();
- }
- if (licenseagreement.Visible == true & welcome.Visible == false)
- {
- licenseagreement.Hide();
- }
- if (welcome.Visible == true)
- {
- welcome.Hide();
- }
- }
-
- private void Timer1_Tick(object sender, EventArgs e)
- {
- if (ProgressBar1.Value < 100)
- {
- ProgressBar1.Value = ProgressBar1.Value + 1;
- }
- if (ProgressBar1.Value == 100)
- {
- Button3.Show();
- installerproccess.Hide();
- Button3.Text = "Finish";
- Timer1.Stop();
- }
- }
-
- private void Button1_Click(object sender, EventArgs e)
- {
- ((Form)this.TopLevelControl).Close();
- }
-
- private void RadioButton2_CheckedChanged(object sender, EventArgs e)
- {
- if(RadioButton2.Checked == true){
- Button3.Enabled = false;
- }else{
- Button3.Enabled = true;
- }
- }
-
- private void RadioButton1_CheckedChanged(object sender, EventArgs e)
- {
- if (RadioButton2.Checked == true)
- {
- Button3.Enabled = false;
- }else{
- Button3.Enabled = true;
- }
- }
- }
-}