aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayXKanz666 <[email protected]>2017-07-06 14:02:08 +0200
committerJayXKanz666 <[email protected]>2017-07-06 14:02:08 +0200
commit3d5a7f0674f23c6e02e36505502e6d29048b7bd8 (patch)
tree5bbfc78c2d6ed20dc87032522fe37c59976bc388
parent3c4fd2ba2cba5b4233caa032cb86a72ebffdc688 (diff)
parent6958c950223e1b1db9648f92a40fe7dd925ca466 (diff)
downloadhistacom2-3d5a7f0674f23c6e02e36505502e6d29048b7bd8.tar.gz
histacom2-3d5a7f0674f23c6e02e36505502e6d29048b7bd8.tar.bz2
histacom2-3d5a7f0674f23c6e02e36505502e6d29048b7bd8.zip
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
-rw-r--r--TimeHACK.Main/GlobalPrograms/WinClassicInstaller.Designer.cs877
-rw-r--r--TimeHACK.Main/GlobalPrograms/WinClassicInstaller.cs145
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs144
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs29
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx (renamed from TimeHACK.Main/GlobalPrograms/WinClassicInstaller.resx)32
-rw-r--r--TimeHACK.Main/OS/Win98/Win98.cs4
-rw-r--r--TimeHACK.Main/Properties/Resources.Designer.cs10
-rw-r--r--TimeHACK.Main/Properties/Resources.resx3
-rw-r--r--TimeHACK.Main/Resources/WinClassic/WinClassicInstallPic.pngbin0 -> 3465 bytes
-rw-r--r--TimeHACK.Main/TimeHACK.Main.csproj19
11 files changed, 206 insertions, 1061 deletions
diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.Designer.cs
deleted file mode 100644
index 64da2e9..0000000
--- a/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.Designer.cs
+++ /dev/null
@@ -1,877 +0,0 @@
-namespace TimeHACK.WinClassicForms
-{
- partial class WinClassicInstaller
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicInstaller));
- this.installerproccess = new System.Windows.Forms.Panel();
- this.PictureBox5 = new System.Windows.Forms.PictureBox();
- this.Panel5 = new System.Windows.Forms.Panel();
- this.PictureBox4 = new System.Windows.Forms.PictureBox();
- this.PictureBox2 = new System.Windows.Forms.PictureBox();
- this.Label9 = new System.Windows.Forms.Label();
- this.Label13 = new System.Windows.Forms.Label();
- this.Label14 = new System.Windows.Forms.Label();
- this.ProgressBar1 = new System.Windows.Forms.ProgressBar();
- this.Complete = new System.Windows.Forms.Panel();
- this.PictureBox3 = new System.Windows.Forms.PictureBox();
- this.Panel6 = new System.Windows.Forms.Panel();
- this.finishinstallimage = new System.Windows.Forms.PictureBox();
- this.Label17 = new System.Windows.Forms.Label();
- this.Label16 = new System.Windows.Forms.Label();
- this.Label18 = new System.Windows.Forms.Label();
- this.welcome = new System.Windows.Forms.Panel();
- this.PictureBox9 = new System.Windows.Forms.PictureBox();
- this.Label1 = new System.Windows.Forms.Label();
- this.programimage = new System.Windows.Forms.Panel();
- this.installimage = new System.Windows.Forms.PictureBox();
- this.Label3 = new System.Windows.Forms.Label();
- this.Label2 = new System.Windows.Forms.Label();
- this.Label4 = new System.Windows.Forms.Label();
- this.TextBox1 = new System.Windows.Forms.TextBox();
- this.toprightcorner = new System.Windows.Forms.Panel();
- this.bottomrightcorner = new System.Windows.Forms.Panel();
- this.bottomleftcorner = new System.Windows.Forms.Panel();
- this.topleftcorner = new System.Windows.Forms.Panel();
- this.look = new System.Windows.Forms.Timer(this.components);
- this.pullbs = new System.Windows.Forms.Timer(this.components);
- this.pullbottom = new System.Windows.Forms.Timer(this.components);
- this.pullside = new System.Windows.Forms.Timer(this.components);
- this.Timer1 = new System.Windows.Forms.Timer(this.components);
- this.TextBox4 = new System.Windows.Forms.TextBox();
- this.program = new System.Windows.Forms.Panel();
- this.Panel1 = new System.Windows.Forms.Panel();
- this.Panel7 = new System.Windows.Forms.Panel();
- this.Panel9 = new System.Windows.Forms.Panel();
- this.Panel2 = new System.Windows.Forms.Panel();
- this.iconpic = new System.Windows.Forms.PictureBox();
- this.installname = new System.Windows.Forms.Label();
- this.Button3 = new System.Windows.Forms.Button();
- this.Button2 = new System.Windows.Forms.Button();
- this.Button1 = new System.Windows.Forms.Button();
- this.licenseagreement = new System.Windows.Forms.Panel();
- this.PictureBox8 = new System.Windows.Forms.PictureBox();
- this.PictureBox1 = new System.Windows.Forms.PictureBox();
- this.Panel3 = new System.Windows.Forms.Panel();
- this.licenceagreementinstallpic = new System.Windows.Forms.PictureBox();
- this.Label6 = new System.Windows.Forms.Label();
- this.Label5 = new System.Windows.Forms.Label();
- this.RadioButton2 = new System.Windows.Forms.RadioButton();
- this.RadioButton1 = new System.Windows.Forms.RadioButton();
- this.TextBox3 = new System.Windows.Forms.TextBox();
- this.summary = new System.Windows.Forms.Panel();
- this.PictureBox7 = new System.Windows.Forms.PictureBox();
- this.Panel4 = new System.Windows.Forms.Panel();
- this.PictureBox6 = new System.Windows.Forms.PictureBox();
- this.suminstallpic = new System.Windows.Forms.PictureBox();
- this.Label7 = new System.Windows.Forms.Label();
- this.Label12 = new System.Windows.Forms.Label();
- this.Label11 = new System.Windows.Forms.Label();
- this.Label10 = new System.Windows.Forms.Label();
- this.Label8 = new System.Windows.Forms.Label();
- this.installerproccess.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox5)).BeginInit();
- this.Panel5.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox4)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit();
- this.Complete.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).BeginInit();
- this.Panel6.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.finishinstallimage)).BeginInit();
- this.welcome.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox9)).BeginInit();
- this.programimage.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.installimage)).BeginInit();
- this.program.SuspendLayout();
- this.Panel1.SuspendLayout();
- this.Panel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.iconpic)).BeginInit();
- this.licenseagreement.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox8)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
- this.Panel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.licenceagreementinstallpic)).BeginInit();
- this.summary.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox7)).BeginInit();
- this.Panel4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox6)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.suminstallpic)).BeginInit();
- this.SuspendLayout();
- //
- // installerproccess
- //
- this.installerproccess.Controls.Add(this.PictureBox5);
- this.installerproccess.Controls.Add(this.Panel5);
- this.installerproccess.Controls.Add(this.Label14);
- this.installerproccess.Controls.Add(this.ProgressBar1);
- this.installerproccess.Location = new System.Drawing.Point(0, 0);
- this.installerproccess.Name = "installerproccess";
- this.installerproccess.Size = new System.Drawing.Size(564, 342);
- this.installerproccess.TabIndex = 15;
- //
- // PictureBox5
- //
- this.PictureBox5.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox5.Location = new System.Drawing.Point(0, 340);
- this.PictureBox5.Name = "PictureBox5";
- this.PictureBox5.Size = new System.Drawing.Size(564, 2);
- this.PictureBox5.TabIndex = 22;
- this.PictureBox5.TabStop = false;
- //
- // Panel5
- //
- this.Panel5.BackColor = System.Drawing.Color.White;
- this.Panel5.Controls.Add(this.PictureBox4);
- this.Panel5.Controls.Add(this.PictureBox2);
- this.Panel5.Controls.Add(this.Label9);
- this.Panel5.Controls.Add(this.Label13);
- this.Panel5.Dock = System.Windows.Forms.DockStyle.Top;
- this.Panel5.Location = new System.Drawing.Point(0, 0);
- this.Panel5.Name = "Panel5";
- this.Panel5.Size = new System.Drawing.Size(564, 55);
- this.Panel5.TabIndex = 21;
- //
- // PictureBox4
- //
- this.PictureBox4.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox4.Location = new System.Drawing.Point(0, 53);
- this.PictureBox4.Name = "PictureBox4";
- this.PictureBox4.Size = new System.Drawing.Size(564, 2);
- this.PictureBox4.TabIndex = 8;
- this.PictureBox4.TabStop = false;
- //
- // PictureBox2
- //
- this.PictureBox2.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.PictureBox2.Location = new System.Drawing.Point(512, 4);
- this.PictureBox2.Name = "PictureBox2";
- this.PictureBox2.Size = new System.Drawing.Size(48, 48);
- this.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.PictureBox2.TabIndex = 2;
- this.PictureBox2.TabStop = false;
- //
- // Label9
- //
- this.Label9.AutoSize = true;
- this.Label9.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label9.Location = new System.Drawing.Point(14, 9);
- this.Label9.Name = "Label9";
- this.Label9.Size = new System.Drawing.Size(57, 14);
- this.Label9.TabIndex = 0;
- this.Label9.Text = "Installing";
- //
- // Label13
- //
- this.Label13.AutoSize = true;
- this.Label13.Location = new System.Drawing.Point(27, 27);
- this.Label13.Name = "Label13";
- this.Label13.Size = new System.Drawing.Size(263, 13);
- this.Label13.TabIndex = 1;
- this.Label13.Text = "Please wait while Guess The Number is being installed";
- //
- // Label14
- //
- this.Label14.AutoSize = true;
- this.Label14.Location = new System.Drawing.Point(22, 80);
- this.Label14.Name = "Label14";
- this.Label14.Size = new System.Drawing.Size(143, 13);
- this.Label14.TabIndex = 20;
- this.Label14.Text = "Installing Guess The Number";
- //
- // ProgressBar1
- //
- this.ProgressBar1.Location = new System.Drawing.Point(22, 99);
- this.ProgressBar1.Name = "ProgressBar1";
- this.ProgressBar1.Size = new System.Drawing.Size(476, 23);
- this.ProgressBar1.TabIndex = 19;
- //
- // Complete
- //
- this.Complete.BackColor = System.Drawing.Color.White;
- this.Complete.Controls.Add(this.PictureBox3);
- this.Complete.Controls.Add(this.Panel6);
- this.Complete.Controls.Add(this.Label17);
- this.Complete.Controls.Add(this.Label16);
- this.Complete.Controls.Add(this.Label18);
- this.Complete.Location = new System.Drawing.Point(0, 0);
- this.Complete.Name = "Complete";
- this.Complete.Size = new System.Drawing.Size(564, 342);
- this.Complete.TabIndex = 17;
- //
- // PictureBox3
- //
- this.PictureBox3.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox3.Location = new System.Drawing.Point(180, 340);
- this.PictureBox3.Name = "PictureBox3";
- this.PictureBox3.Size = new System.Drawing.Size(384, 2);
- this.PictureBox3.TabIndex = 16;
- this.PictureBox3.TabStop = false;
- //
- // Panel6
- //
- this.Panel6.Controls.Add(this.finishinstallimage);
- this.Panel6.Dock = System.Windows.Forms.DockStyle.Left;
- this.Panel6.Location = new System.Drawing.Point(0, 0);
- this.Panel6.Name = "Panel6";
- this.Panel6.Size = new System.Drawing.Size(180, 342);
- this.Panel6.TabIndex = 15;
- //
- // finishinstallimage
- //
- this.finishinstallimage.Dock = System.Windows.Forms.DockStyle.Fill;
- this.finishinstallimage.Location = new System.Drawing.Point(0, 0);
- this.finishinstallimage.Name = "finishinstallimage";
- this.finishinstallimage.Size = new System.Drawing.Size(180, 342);
- this.finishinstallimage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.finishinstallimage.TabIndex = 0;
- this.finishinstallimage.TabStop = false;
- //
- // Label17
- //
- this.Label17.AutoSize = true;
- this.Label17.Location = new System.Drawing.Point(263, 307);
- this.Label17.Name = "Label17";
- this.Label17.Size = new System.Drawing.Size(167, 13);
- this.Label17.TabIndex = 2;
- this.Label17.Text = "Click Finish to complete the Setup";
- //
- // Label16
- //
- this.Label16.AutoSize = true;
- this.Label16.Location = new System.Drawing.Point(263, 55);
- this.Label16.Name = "Label16";
- this.Label16.Size = new System.Drawing.Size(225, 13);
- this.Label16.TabIndex = 1;
- this.Label16.Text = "Guess The Number was successfully installed.";
- //
- // Label18
- //
- this.Label18.AutoSize = true;
- this.Label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label18.Location = new System.Drawing.Point(259, 17);
- this.Label18.Name = "Label18";
- this.Label18.Size = new System.Drawing.Size(158, 24);
- this.Label18.TabIndex = 0;
- this.Label18.Text = "Install Complete";
- //
- // welcome
- //
- this.welcome.BackColor = System.Drawing.Color.White;
- this.welcome.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.welcome.Controls.Add(this.PictureBox9);
- this.welcome.Controls.Add(this.Label1);
- this.welcome.Controls.Add(this.programimage);
- this.welcome.Controls.Add(this.Label3);
- this.welcome.Controls.Add(this.Label2);
- this.welcome.Controls.Add(this.Label4);
- this.welcome.Controls.Add(this.TextBox1);
- this.welcome.Location = new System.Drawing.Point(0, 0);
- this.welcome.Name = "welcome";
- this.welcome.Size = new System.Drawing.Size(564, 342);
- this.welcome.TabIndex = 14;
- //
- // PictureBox9
- //
- this.PictureBox9.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox9.Location = new System.Drawing.Point(180, 338);
- this.PictureBox9.Name = "PictureBox9";
- this.PictureBox9.Size = new System.Drawing.Size(382, 2);
- this.PictureBox9.TabIndex = 16;
- this.PictureBox9.TabStop = false;
- //
- // Label1
- //
- this.Label1.AutoSize = true;
- this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label1.Location = new System.Drawing.Point(188, 31);
- this.Label1.Name = "Label1";
- this.Label1.Size = new System.Drawing.Size(117, 20);
- this.Label1.TabIndex = 15;
- this.Label1.Text = "Setup Wizard";
- //
- // programimage
- //
- this.programimage.Controls.Add(this.installimage);
- this.programimage.Dock = System.Windows.Forms.DockStyle.Left;
- this.programimage.Location = new System.Drawing.Point(0, 0);
- this.programimage.Name = "programimage";
- this.programimage.Size = new System.Drawing.Size(180, 340);
- this.programimage.TabIndex = 14;
- //
- // installimage
- //
- this.installimage.Dock = System.Windows.Forms.DockStyle.Fill;
- this.installimage.Location = new System.Drawing.Point(0, 0);
- this.installimage.Name = "installimage";
- this.installimage.Size = new System.Drawing.Size(180, 340);
- this.installimage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.installimage.TabIndex = 0;
- this.installimage.TabStop = false;
- //
- // Label3
- //
- this.Label3.AutoSize = true;
- this.Label3.Location = new System.Drawing.Point(186, 182);
- this.Label3.Name = "Label3";
- this.Label3.Size = new System.Drawing.Size(114, 13);
- this.Label3.TabIndex = 13;
- this.Label3.Text = "Click Next to continue ";
- //
- // Label2
- //
- this.Label2.AutoSize = true;
- this.Label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label2.Location = new System.Drawing.Point(185, 7);
- this.Label2.Name = "Label2";
- this.Label2.Size = new System.Drawing.Size(266, 20);
- this.Label2.TabIndex = 6;
- this.Label2.Text = "Welcome To Guess The Number";
- //
- // Label4
- //
- this.Label4.AutoSize = true;
- this.Label4.Location = new System.Drawing.Point(187, 71);
- this.Label4.Name = "Label4";
- this.Label4.Size = new System.Drawing.Size(348, 13);
- this.Label4.TabIndex = 7;
- this.Label4.Text = "This Wizard will guide you throught the installation of Guess The Number";
- //
- // TextBox1
- //
- this.TextBox1.BackColor = System.Drawing.Color.White;
- this.TextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.TextBox1.Location = new System.Drawing.Point(190, 104);
- this.TextBox1.Multiline = true;
- this.TextBox1.Name = "TextBox1";
- this.TextBox1.ReadOnly = true;
- this.TextBox1.Size = new System.Drawing.Size(270, 62);
- this.TextBox1.TabIndex = 8;
- this.TextBox1.Text = "It is recommended that you close all other applications before starting Setup. Th" +
- "is will make it possible to update relevant system files without having to reboo" +
- "t your computer.";
- //
- // toprightcorner
- //
- this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.toprightcorner.Location = new System.Drawing.Point(569, 0);
- this.toprightcorner.Name = "toprightcorner";
- this.toprightcorner.Size = new System.Drawing.Size(4, 4);
- this.toprightcorner.TabIndex = 6;
- //
- // bottomrightcorner
- //
- this.bottomrightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE;
- this.bottomrightcorner.Location = new System.Drawing.Point(569, 417);
- this.bottomrightcorner.Name = "bottomrightcorner";
- this.bottomrightcorner.Size = new System.Drawing.Size(4, 4);
- this.bottomrightcorner.TabIndex = 4;
- //
- // bottomleftcorner
- //
- this.bottomleftcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.bottomleftcorner.Location = new System.Drawing.Point(0, 417);
- this.bottomleftcorner.Name = "bottomleftcorner";
- this.bottomleftcorner.Size = new System.Drawing.Size(4, 4);
- this.bottomleftcorner.TabIndex = 2;
- //
- // topleftcorner
- //
- this.topleftcorner.Location = new System.Drawing.Point(0, 0);
- this.topleftcorner.Name = "topleftcorner";
- this.topleftcorner.Size = new System.Drawing.Size(4, 4);
- this.topleftcorner.TabIndex = 1;
- //
- // pullbs
- //
- this.pullbs.Interval = 1;
- //
- // pullbottom
- //
- this.pullbottom.Interval = 1;
- //
- // pullside
- //
- this.pullside.Interval = 1;
- //
- // Timer1
- //
- this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
- //
- // TextBox4
- //
- this.TextBox4.BackColor = System.Drawing.Color.Gainsboro;
- this.TextBox4.Location = new System.Drawing.Point(28, 129);
- this.TextBox4.Multiline = true;
- this.TextBox4.Name = "TextBox4";
- this.TextBox4.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.TextBox4.Size = new System.Drawing.Size(497, 133);
- this.TextBox4.TabIndex = 3;
- this.TextBox4.Text = resources.GetString("TextBox4.Text");
- //
- // program
- //
- this.program.BackColor = System.Drawing.Color.LightGray;
- this.program.Controls.Add(this.Panel1);
- this.program.Controls.Add(this.toprightcorner);
- this.program.Controls.Add(this.bottomrightcorner);
- this.program.Controls.Add(this.bottomleftcorner);
- this.program.Controls.Add(this.topleftcorner);
- this.program.Dock = System.Windows.Forms.DockStyle.Fill;
- this.program.Location = new System.Drawing.Point(0, 0);
- this.program.Name = "program";
- this.program.Size = new System.Drawing.Size(573, 421);
- this.program.TabIndex = 6;
- //
- // Panel1
- //
- this.Panel1.BackColor = System.Drawing.Color.OldLace;
- this.Panel1.Controls.Add(this.Panel7);
- this.Panel1.Controls.Add(this.Panel9);
- this.Panel1.Controls.Add(this.Panel2);
- this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.Panel1.Location = new System.Drawing.Point(0, 0);
- this.Panel1.Name = "Panel1";
- this.Panel1.Size = new System.Drawing.Size(573, 421);
- this.Panel1.TabIndex = 9;
- //
- // Panel7
- //
- this.Panel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.Panel7.Location = new System.Drawing.Point(0, 417);
- this.Panel7.Name = "Panel7";
- this.Panel7.Size = new System.Drawing.Size(5, 4);
- this.Panel7.TabIndex = 10;
- //
- // Panel9
- //
- this.Panel9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.Panel9.Cursor = System.Windows.Forms.Cursors.SizeNWSE;
- this.Panel9.Location = new System.Drawing.Point(569, 417);
- this.Panel9.Name = "Panel9";
- this.Panel9.Size = new System.Drawing.Size(4, 4);
- this.Panel9.TabIndex = 4;
- //
- // Panel2
- //
- this.Panel2.BackColor = System.Drawing.Color.Gainsboro;
- this.Panel2.Controls.Add(this.iconpic);
- this.Panel2.Controls.Add(this.installname);
- this.Panel2.Controls.Add(this.Button3);
- this.Panel2.Controls.Add(this.Button2);
- this.Panel2.Controls.Add(this.Button1);
- this.Panel2.Controls.Add(this.licenseagreement);
- this.Panel2.Controls.Add(this.summary);
- this.Panel2.Controls.Add(this.installerproccess);
- this.Panel2.Controls.Add(this.Complete);
- this.Panel2.Controls.Add(this.welcome);
- this.Panel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.Panel2.Location = new System.Drawing.Point(0, 0);
- this.Panel2.Name = "Panel2";
- this.Panel2.Size = new System.Drawing.Size(573, 421);
- this.Panel2.TabIndex = 21;
- //
- // iconpic
- //
- this.iconpic.Location = new System.Drawing.Point(96, 350);
- this.iconpic.Name = "iconpic";
- this.iconpic.Size = new System.Drawing.Size(60, 31);
- this.iconpic.TabIndex = 19;
- this.iconpic.TabStop = false;
- this.iconpic.Visible = false;
- //
- // installname
- //
- this.installname.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.installname.AutoSize = true;
- this.installname.Location = new System.Drawing.Point(5, 391);
- this.installname.Name = "installname";
- this.installname.Size = new System.Drawing.Size(45, 13);
- this.installname.TabIndex = 18;
- this.installname.Text = "Label18";
- //
- // Button3
- //
- this.Button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.Button3.Location = new System.Drawing.Point(404, 390);
- this.Button3.Name = "Button3";
- this.Button3.Size = new System.Drawing.Size(75, 23);
- this.Button3.TabIndex = 12;
- this.Button3.Text = "Next >";
- this.Button3.UseVisualStyleBackColor = true;
- this.Button3.Click += new System.EventHandler(this.Button3_Click);
- //
- // Button2
- //
- this.Button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.Button2.Location = new System.Drawing.Point(323, 390);
- this.Button2.Name = "Button2";
- this.Button2.Size = new System.Drawing.Size(75, 23);
- this.Button2.TabIndex = 11;
- this.Button2.Text = "< Back";
- this.Button2.UseVisualStyleBackColor = true;
- //
- // Button1
- //
- this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.Button1.Location = new System.Drawing.Point(485, 390);
- this.Button1.Name = "Button1";
- this.Button1.Size = new System.Drawing.Size(75, 23);
- this.Button1.TabIndex = 10;
- this.Button1.Text = "Cancel";
- this.Button1.UseVisualStyleBackColor = true;
- this.Button1.Click += new System.EventHandler(this.Button1_Click);
- //
- // licenseagreement
- //
- this.licenseagreement.Controls.Add(this.PictureBox8);
- this.licenseagreement.Controls.Add(this.PictureBox1);
- this.licenseagreement.Controls.Add(this.Panel3);
- this.licenseagreement.Controls.Add(this.RadioButton2);
- this.licenseagreement.Controls.Add(this.RadioButton1);
- this.licenseagreement.Controls.Add(this.TextBox4);
- this.licenseagreement.Controls.Add(this.TextBox3);
- this.licenseagreement.Location = new System.Drawing.Point(0, 0);
- this.licenseagreement.Name = "licenseagreement";
- this.licenseagreement.Size = new System.Drawing.Size(564, 342);
- this.licenseagreement.TabIndex = 15;
- //
- // PictureBox8
- //
- this.PictureBox8.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox8.Location = new System.Drawing.Point(0, 340);
- this.PictureBox8.Name = "PictureBox8";
- this.PictureBox8.Size = new System.Drawing.Size(564, 2);
- this.PictureBox8.TabIndex = 9;
- this.PictureBox8.TabStop = false;
- //
- // PictureBox1
- //
- this.PictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
- this.PictureBox1.Location = new System.Drawing.Point(0, 55);
- this.PictureBox1.Name = "PictureBox1";
- this.PictureBox1.Size = new System.Drawing.Size(564, 2);
- this.PictureBox1.TabIndex = 7;
- this.PictureBox1.TabStop = false;
- //
- // Panel3
- //
- this.Panel3.BackColor = System.Drawing.Color.White;
- this.Panel3.Controls.Add(this.licenceagreementinstallpic);
- this.Panel3.Controls.Add(this.Label6);
- this.Panel3.Controls.Add(this.Label5);
- this.Panel3.Dock = System.Windows.Forms.DockStyle.Top;
- this.Panel3.Location = new System.Drawing.Point(0, 0);
- this.Panel3.Name = "Panel3";
- this.Panel3.Size = new System.Drawing.Size(564, 55);
- this.Panel3.TabIndex = 6;
- //
- // licenceagreementinstallpic
- //
- this.licenceagreementinstallpic.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.licenceagreementinstallpic.Location = new System.Drawing.Point(512, 4);
- this.licenceagreementinstallpic.Name = "licenceagreementinstallpic";
- this.licenceagreementinstallpic.Size = new System.Drawing.Size(48, 48);
- this.licenceagreementinstallpic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.licenceagreementinstallpic.TabIndex = 2;
- this.licenceagreementinstallpic.TabStop = false;
- //
- // Label6
- //
- this.Label6.AutoSize = true;
- this.Label6.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label6.Location = new System.Drawing.Point(14, 9);
- this.Label6.Name = "Label6";
- this.Label6.Size = new System.Drawing.Size(170, 14);
- this.Label6.TabIndex = 0;
- this.Label6.Text = "Software License Agreement";
- //
- // Label5
- //
- this.Label5.AutoSize = true;
- this.Label5.Location = new System.Drawing.Point(36, 27);
- this.Label5.Name = "Label5";
- this.Label5.Size = new System.Drawing.Size(216, 13);
- this.Label5.TabIndex = 1;
- this.Label5.Text = "Terms and conditions for using this software.";
- //
- // RadioButton2
- //
- this.RadioButton2.AutoSize = true;
- this.RadioButton2.Location = new System.Drawing.Point(28, 288);
- this.RadioButton2.Name = "RadioButton2";
- this.RadioButton2.Size = new System.Drawing.Size(275, 17);
- this.RadioButton2.TabIndex = 5;
- this.RadioButton2.Text = "I do NOT accept the terms of the License Agreement";
- this.RadioButton2.UseVisualStyleBackColor = true;
- this.RadioButton2.CheckedChanged += new System.EventHandler(this.RadioButton2_CheckedChanged);
- //
- // RadioButton1
- //
- this.RadioButton1.AutoSize = true;
- this.RadioButton1.Checked = true;
- this.RadioButton1.Location = new System.Drawing.Point(28, 269);
- this.RadioButton1.Name = "RadioButton1";
- this.RadioButton1.Size = new System.Drawing.Size(234, 17);
- this.RadioButton1.TabIndex = 4;
- this.RadioButton1.TabStop = true;
- this.RadioButton1.Text = "I accept the terms of the License Agreement";
- this.RadioButton1.UseVisualStyleBackColor = true;
- this.RadioButton1.CheckedChanged += new System.EventHandler(this.RadioButton1_CheckedChanged);
- //
- // TextBox3
- //
- this.TextBox3.BackColor = System.Drawing.Color.Gainsboro;
- this.TextBox3.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.TextBox3.Location = new System.Drawing.Point(28, 92);
- this.TextBox3.Multiline = true;
- this.TextBox3.Name = "TextBox3";
- this.TextBox3.Size = new System.Drawing.Size(424, 39);
- this.TextBox3.TabIndex = 2;
- this.TextBox3.Text = "Please read the following license agreement, use the scroll bar to view the rest " +
- "of this agreement";
- //
- // summary
- //
- this.summary.Controls.Add(this.PictureBox7);
- this.summary.Controls.Add(this.Panel4);
- this.summary.Controls.Add(this.Label11);
- this.summary.Controls.Add(this.Label10);
- this.summary.Controls.Add(this.Label8);
- this.summary.Location = new System.Drawing.Point(0, 0);
- this.summary.Name = "summary";
- this.summary.Size = new System.Drawing.Size(564, 342);
- this.summary.TabIndex = 16;
- //
- // PictureBox7
- //
- this.PictureBox7.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox7.Location = new System.Drawing.Point(0, 340);
- this.PictureBox7.Name = "PictureBox7";
- this.PictureBox7.Size = new System.Drawing.Size(564, 2);
- this.PictureBox7.TabIndex = 9;
- this.PictureBox7.TabStop = false;
- //
- // Panel4
- //
- this.Panel4.BackColor = System.Drawing.Color.White;
- this.Panel4.Controls.Add(this.PictureBox6);
- this.Panel4.Controls.Add(this.suminstallpic);
- this.Panel4.Controls.Add(this.Label7);
- this.Panel4.Controls.Add(this.Label12);
- this.Panel4.Dock = System.Windows.Forms.DockStyle.Top;
- this.Panel4.Location = new System.Drawing.Point(0, 0);
- this.Panel4.Name = "Panel4";
- this.Panel4.Size = new System.Drawing.Size(564, 55);
- this.Panel4.TabIndex = 7;
- //
- // PictureBox6
- //
- this.PictureBox6.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.PictureBox6.Location = new System.Drawing.Point(0, 53);
- this.PictureBox6.Name = "PictureBox6";
- this.PictureBox6.Size = new System.Drawing.Size(564, 2);
- this.PictureBox6.TabIndex = 9;
- this.PictureBox6.TabStop = false;
- //
- // suminstallpic
- //
- this.suminstallpic.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.suminstallpic.Location = new System.Drawing.Point(512, 4);
- this.suminstallpic.Name = "suminstallpic";
- this.suminstallpic.Size = new System.Drawing.Size(48, 48);
- this.suminstallpic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.suminstallpic.TabIndex = 2;
- this.suminstallpic.TabStop = false;
- //
- // Label7
- //
- this.Label7.AutoSize = true;
- this.Label7.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label7.Location = new System.Drawing.Point(14, 9);
- this.Label7.Name = "Label7";
- this.Label7.Size = new System.Drawing.Size(60, 14);
- this.Label7.TabIndex = 0;
- this.Label7.Text = "Summary";
- //
- // Label12
- //
- this.Label12.AutoSize = true;
- this.Label12.Location = new System.Drawing.Point(31, 27);
- this.Label12.Name = "Label12";
- this.Label12.Size = new System.Drawing.Size(207, 13);
- this.Label12.TabIndex = 1;
- this.Label12.Text = "Ready to start installing Guess the Number";
- //
- // Label11
- //
- this.Label11.AutoSize = true;
- this.Label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.Label11.Location = new System.Drawing.Point(35, 110);
- this.Label11.Name = "Label11";
- this.Label11.Size = new System.Drawing.Size(187, 15);
- this.Label11.TabIndex = 5;
- this.Label11.Text = "C:\\Program Files\\ Guess The Number";
- //
- // Label10
- //
- this.Label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.Label10.AutoSize = true;
- this.Label10.Location = new System.Drawing.Point(14, 308);
- this.Label10.Name = "Label10";
- this.Label10.Size = new System.Drawing.Size(111, 13);
- this.Label10.TabIndex = 4;
- this.Label10.Text = "Click Next to continue";
- //
- // Label8
- //
- this.Label8.AutoSize = true;
- this.Label8.Location = new System.Drawing.Point(30, 88);
- this.Label8.Name = "Label8";
- this.Label8.Size = new System.Drawing.Size(277, 13);
- this.Label8.TabIndex = 2;
- this.Label8.Text = "Guess The Number will be installed the following location:";
- //
- // WinClassicInstaller
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.program);
- this.Name = "WinClassicInstaller";
- this.Size = new System.Drawing.Size(573, 421);
- this.Load += new System.EventHandler(this.WinClassicInstaller_Load);
- this.installerproccess.ResumeLayout(false);
- this.installerproccess.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox5)).EndInit();
- this.Panel5.ResumeLayout(false);
- this.Panel5.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox4)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit();
- this.Complete.ResumeLayout(false);
- this.Complete.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).EndInit();
- this.Panel6.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.finishinstallimage)).EndInit();
- this.welcome.ResumeLayout(false);
- this.welcome.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox9)).EndInit();
- this.programimage.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.installimage)).EndInit();
- this.program.ResumeLayout(false);
- this.Panel1.ResumeLayout(false);
- this.Panel2.ResumeLayout(false);
- this.Panel2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.iconpic)).EndInit();
- this.licenseagreement.ResumeLayout(false);
- this.licenseagreement.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox8)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
- this.Panel3.ResumeLayout(false);
- this.Panel3.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.licenceagreementinstallpic)).EndInit();
- this.summary.ResumeLayout(false);
- this.summary.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox7)).EndInit();
- this.Panel4.ResumeLayout(false);
- this.Panel4.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox6)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.suminstallpic)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- internal System.Windows.Forms.Panel installerproccess;
- internal System.Windows.Forms.PictureBox PictureBox5;
- internal System.Windows.Forms.Panel Panel5;
- internal System.Windows.Forms.PictureBox PictureBox4;
- internal System.Windows.Forms.PictureBox PictureBox2;
- internal System.Windows.Forms.Label Label9;
- internal System.Windows.Forms.Label Label13;
- internal System.Windows.Forms.Label Label14;
- internal System.Windows.Forms.ProgressBar ProgressBar1;
- internal System.Windows.Forms.Panel Complete;
- internal System.Windows.Forms.PictureBox PictureBox3;
- internal System.Windows.Forms.Panel Panel6;
- internal System.Windows.Forms.PictureBox finishinstallimage;
- internal System.Windows.Forms.Label Label17;
- internal System.Windows.Forms.Label Label16;
- internal System.Windows.Forms.Label Label18;
- internal System.Windows.Forms.Panel welcome;
- internal System.Windows.Forms.PictureBox PictureBox9;
- internal System.Windows.Forms.Label Label1;
- internal System.Windows.Forms.Panel programimage;
- internal System.Windows.Forms.PictureBox installimage;
- internal System.Windows.Forms.Label Label3;
- internal System.Windows.Forms.Label Label2;
- internal System.Windows.Forms.Label Label4;
- internal System.Windows.Forms.TextBox TextBox1;
- internal System.Windows.Forms.Panel toprightcorner;
- internal System.Windows.Forms.Panel bottomrightcorner;
- internal System.Windows.Forms.Panel bottomleftcorner;
- internal System.Windows.Forms.Panel topleftcorner;
- internal System.Windows.Forms.Timer look;
- internal System.Windows.Forms.Timer pullbs;
- internal System.Windows.Forms.Timer pullbottom;
- internal System.Windows.Forms.Timer pullside;
- internal System.Windows.Forms.Timer Timer1;
- internal System.Windows.Forms.TextBox TextBox4;
- internal System.Windows.Forms.Panel program;
- internal System.Windows.Forms.Panel Panel1;
- internal System.Windows.Forms.Panel Panel7;
- internal System.Windows.Forms.Panel Panel9;
- internal System.Windows.Forms.Panel Panel2;
- internal System.Windows.Forms.PictureBox iconpic;
- internal System.Windows.Forms.Label installname;
- internal System.Windows.Forms.Button Button3;
- internal System.Windows.Forms.Button Button2;
- internal System.Windows.Forms.Button Button1;
- internal System.Windows.Forms.Panel licenseagreement;
- internal System.Windows.Forms.PictureBox PictureBox8;
- internal System.Windows.Forms.PictureBox PictureBox1;
- internal System.Windows.Forms.Panel Panel3;
- internal System.Windows.Forms.PictureBox licenceagreementinstallpic;
- internal System.Windows.Forms.Label Label6;
- internal System.Windows.Forms.Label Label5;
- internal System.Windows.Forms.RadioButton RadioButton2;
- internal System.Windows.Forms.RadioButton RadioButton1;
- internal System.Windows.Forms.TextBox TextBox3;
- internal System.Windows.Forms.Panel summary;
- internal System.Windows.Forms.PictureBox PictureBox7;
- internal System.Windows.Forms.Panel Panel4;
- internal System.Windows.Forms.PictureBox PictureBox6;
- internal System.Windows.Forms.PictureBox suminstallpic;
- internal System.Windows.Forms.Label Label7;
- internal System.Windows.Forms.Label Label12;
- internal System.Windows.Forms.Label Label11;
- internal System.Windows.Forms.Label Label10;
- internal System.Windows.Forms.Label Label8;
- }
-}
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;
- }
- }
- }
-}
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index c6db739..e6ea876 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -238,7 +238,7 @@ namespace TimeHACK.OS.Win95
private void installerTestToolStripMenuItem_Click(object sender, EventArgs e)
{
- WinClassicInstaller openinstaller = new WinClassicInstaller();
+ Win95Installer openinstaller = new Win95Installer();
WinClassic app = wm.StartWin95(openinstaller, "Installer", null, false, true);
AddTaskBarItem(app, app.Tag.ToString(), "Installer", null);
@@ -278,7 +278,7 @@ namespace TimeHACK.OS.Win95
}
else if (objListViewItem.Text == "Web Chat Setup")
{
- WinClassicInstaller inst = new WinClassicInstaller();
+ Win95Installer inst = new Win95Installer();
inst.installname.Text = "Web Chat 1998";
WinClassic app = wm.StartWin95(inst, "Web Chat Setup", null, true, true);
AddTaskBarItem(app, app.Tag.ToString(), "Web Chat Setup", null);
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs
new file mode 100644
index 0000000..0bfab81
--- /dev/null
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs
@@ -0,0 +1,144 @@
+namespace TimeHACK.OS.Win95.Win95Apps
+{
+ partial class Win95Installer
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Win95Installer));
+ this.installPic = new System.Windows.Forms.PictureBox();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.installname = new System.Windows.Forms.Label();
+ this.cancelbutton1 = new System.Windows.Forms.Button();
+ this.nextbutton1 = new System.Windows.Forms.Button();
+ this.backbutton1 = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.installPic)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // installPic
+ //
+ this.installPic.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicInstallPic;
+ this.installPic.Location = new System.Drawing.Point(18, 16);
+ this.installPic.Name = "installPic";
+ this.installPic.Size = new System.Drawing.Size(120, 260);
+ this.installPic.TabIndex = 0;
+ this.installPic.TabStop = false;
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.WinAboutSeparator95;
+ this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.pictureBox1.Location = new System.Drawing.Point(18, 292);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(450, 2);
+ this.pictureBox1.TabIndex = 1;
+ this.pictureBox1.TabStop = false;
+ //
+ // label1
+ //
+ this.label1.Location = new System.Drawing.Point(147, 16);
+ this.label1.Margin = new System.Windows.Forms.Padding(0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(321, 260);
+ this.label1.TabIndex = 2;
+ this.label1.Text = resources.GetString("label1.Text");
+ //
+ // installname
+ //
+ this.installname.AutoSize = true;
+ this.installname.Location = new System.Drawing.Point(18, 301);
+ this.installname.Name = "installname";
+ this.installname.Size = new System.Drawing.Size(35, 13);
+ this.installname.TabIndex = 3;
+ this.installname.Text = "label2";
+ this.installname.Visible = false;
+ //
+ // cancelbutton1
+ //
+ this.cancelbutton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.cancelbutton1.Location = new System.Drawing.Point(393, 301);
+ this.cancelbutton1.Name = "cancelbutton1";
+ this.cancelbutton1.Size = new System.Drawing.Size(75, 23);
+ this.cancelbutton1.TabIndex = 4;
+ this.cancelbutton1.Text = "Cancel";
+ this.cancelbutton1.UseVisualStyleBackColor = true;
+ //
+ // nextbutton1
+ //
+ this.nextbutton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.nextbutton1.Location = new System.Drawing.Point(312, 301);
+ this.nextbutton1.Name = "nextbutton1";
+ this.nextbutton1.Size = new System.Drawing.Size(75, 23);
+ this.nextbutton1.TabIndex = 5;
+ this.nextbutton1.Text = "Next";
+ this.nextbutton1.UseVisualStyleBackColor = true;
+ //
+ // backbutton1
+ //
+ this.backbutton1.Enabled = false;
+ this.backbutton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.backbutton1.Location = new System.Drawing.Point(241, 301);
+ this.backbutton1.Name = "backbutton1";
+ this.backbutton1.Size = new System.Drawing.Size(75, 23);
+ this.backbutton1.TabIndex = 6;
+ this.backbutton1.Text = "Back";
+ this.backbutton1.UseVisualStyleBackColor = true;
+ //
+ // Win95Installer
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.Silver;
+ this.Controls.Add(this.backbutton1);
+ this.Controls.Add(this.nextbutton1);
+ this.Controls.Add(this.cancelbutton1);
+ this.Controls.Add(this.installname);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.pictureBox1);
+ this.Controls.Add(this.installPic);
+ this.Name = "Win95Installer";
+ this.Size = new System.Drawing.Size(488, 340);
+ this.Load += new System.EventHandler(this.Win95Installer_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.installPic)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.PictureBox installPic;
+ private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.Label label1;
+ internal System.Windows.Forms.Label installname;
+ private System.Windows.Forms.Button cancelbutton1;
+ private System.Windows.Forms.Button nextbutton1;
+ private System.Windows.Forms.Button backbutton1;
+ }
+}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
new file mode 100644
index 0000000..0ae74df
--- /dev/null
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs
@@ -0,0 +1,29 @@
+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;
+
+namespace TimeHACK.OS.Win95.Win95Apps
+{
+ public partial class Win95Installer : UserControl
+ {
+ public Win95Installer()
+ {
+ InitializeComponent();
+ label1.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);
+ }
+
+ private void Win95Installer_Load(object sender, EventArgs e)
+ {
+ label1.Text.Replace("GenericName", installname.Text);
+ }
+ }
+}
diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.resx b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx
index 33801ef..3c5d753 100644
--- a/TimeHACK.Main/GlobalPrograms/WinClassicInstaller.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx
@@ -117,36 +117,16 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <metadata name="look.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>200, 57</value>
- </metadata>
- <metadata name="pullbs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>275, 57</value>
- </metadata>
- <metadata name="pullbottom.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>359, 57</value>
- </metadata>
- <metadata name="pullside.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>472, 57</value>
- </metadata>
- <metadata name="Timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>566, 57</value>
- </metadata>
- <data name="TextBox4.Text" xml:space="preserve">
- <value>By installing this software you agree that you will not try to reverse engineer it in anyway or claim it as your own work.
+ <data name="label1.Text" xml:space="preserve">
+ <value>Welcome to the GenericName Setup program. This program will install GenericName on your computer.
-You agree that you will not try to spread this software or any of its components to other companies without rightful permission from the owner.
+It is strongly recommended that you exit all Windows programs before running this setup program.
-You agree that if you bought this program, you own it and that nobody else is allowed to use it on your computer or on their computer.
+Click Cancel to quit Setup and then close any programs you have running. Click Next to continue with the Setup program.
-You understand that trying to upload this software online or any other forms of spreading this software will result in the FBI coming into your home and killing you with knives.
-You agree that taking a picture of this software and sending it to someone will cause you to get 15 years in jail for software exposing.
+WARNING: This program is protected by copyright law and international treaties.
-You agree that if you tell someone else about this software's features that you will wake up dead in the morning because the owner would have killed you in your sleep.
-
-You know that using this software will alert the maker of it and then cause him to monitor every moment of your life after you install this software.
-
-You agree to all of the above and will not commit any of the crimes otherwise you will go to Hell.</value>
+Unauthorized reproduction or distribution of this program, or any portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under law.</value>
</data>
</root> \ No newline at end of file
diff --git a/TimeHACK.Main/OS/Win98/Win98.cs b/TimeHACK.Main/OS/Win98/Win98.cs
index b80d943..198108d 100644
--- a/TimeHACK.Main/OS/Win98/Win98.cs
+++ b/TimeHACK.Main/OS/Win98/Win98.cs
@@ -218,7 +218,7 @@ namespace TimeHACK.OS.Win98
private void installerTestToolStripMenuItem_Click(object sender, EventArgs e)
{
- WinClassicInstaller openinstaller = new WinClassicInstaller();
+ Win95Installer openinstaller = new Win95Installer();
WinClassic app = wm.StartWin95(openinstaller, "Installer", null, false, true);
AddTaskBarItem(app, app.Tag.ToString(), "Installer", null);
@@ -258,7 +258,7 @@ namespace TimeHACK.OS.Win98
}
else if (objListViewItem.Text == "Web Chat Setup")
{
- WinClassicInstaller inst = new WinClassicInstaller();
+ Win95Installer inst = new Win95Installer();
inst.installname.Text = "Web Chat 1998";
WinClassic app = wm.StartWin95(inst, "Web Chat Setup", null, true, true);
AddTaskBarItem(app, app.Tag.ToString(), "Web Chat Setup", null);
diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs
index 610ce9c..95327fa 100644
--- a/TimeHACK.Main/Properties/Resources.Designer.cs
+++ b/TimeHACK.Main/Properties/Resources.Designer.cs
@@ -914,6 +914,16 @@ namespace TimeHACK.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
+ internal static System.Drawing.Bitmap WinClassicInstallPic {
+ get {
+ object obj = ResourceManager.GetObject("WinClassicInstallPic", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
internal static System.Drawing.Bitmap WinClassicMSN {
get {
object obj = ResourceManager.GetObject("WinClassicMSN", resourceCulture);
diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx
index c5d7bff..09baced 100644
--- a/TimeHACK.Main/Properties/Resources.resx
+++ b/TimeHACK.Main/Properties/Resources.resx
@@ -591,4 +591,7 @@
<data name="win95_welcometip" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\win95_welcometip.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
+ <data name="WinClassicInstallPic" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\WinClassic\WinClassicInstallPic.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
</root> \ No newline at end of file
diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicInstallPic.png b/TimeHACK.Main/Resources/WinClassic/WinClassicInstallPic.png
new file mode 100644
index 0000000..8a7a689
--- /dev/null
+++ b/TimeHACK.Main/Resources/WinClassic/WinClassicInstallPic.png
Binary files differ
diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj
index 0adb956..5d55c25 100644
--- a/TimeHACK.Main/TimeHACK.Main.csproj
+++ b/TimeHACK.Main/TimeHACK.Main.csproj
@@ -137,6 +137,12 @@
<DependentUpon>SurviveTheDay.cs</DependentUpon>
</Compile>
<Compile Include="OS\Win95\Win95Apps\Story\Hack1.cs" />
+ <Compile Include="OS\Win95\Win95Apps\Win95Installer.cs">
+ <SubType>UserControl</SubType>
+ </Compile>
+ <Compile Include="OS\Win95\Win95Apps\Win95Installer.Designer.cs">
+ <DependentUpon>Win95Installer.cs</DependentUpon>
+ </Compile>
<Compile Include="OS\Win95\Win95Apps\WinClassicFTPClient.cs">
<SubType>UserControl</SubType>
</Compile>
@@ -251,12 +257,6 @@
<Compile Include="OS\Win95\Win95Apps\WinClassicIE4.Designer.cs">
<DependentUpon>WinClassicIE4.cs</DependentUpon>
</Compile>
- <Compile Include="GlobalPrograms\WinClassicInstaller.cs">
- <SubType>UserControl</SubType>
- </Compile>
- <Compile Include="GlobalPrograms\WinClassicInstaller.Designer.cs">
- <DependentUpon>WinClassicInstaller.cs</DependentUpon>
- </Compile>
<Compile Include="OS\Win95\Win95Apps\WinClassicNotepad.cs">
<SubType>UserControl</SubType>
</Compile>
@@ -300,6 +300,9 @@
<EmbeddedResource Include="OS\Win2K\Win2KApps\SurviveTheDay.resx">
<DependentUpon>SurviveTheDay.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="OS\Win95\Win95Apps\Win95Installer.resx">
+ <DependentUpon>Win95Installer.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicFTPClient.resx">
<DependentUpon>WinClassicFTPClient.cs</DependentUpon>
</EmbeddedResource>
@@ -363,9 +366,6 @@
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicIE4.resx">
<DependentUpon>WinClassicIE4.cs</DependentUpon>
</EmbeddedResource>
- <EmbeddedResource Include="GlobalPrograms\WinClassicInstaller.resx">
- <DependentUpon>WinClassicInstaller.cs</DependentUpon>
- </EmbeddedResource>
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicNotepad.resx">
<DependentUpon>WinClassicNotepad.cs</DependentUpon>
</EmbeddedResource>
@@ -498,6 +498,7 @@
<None Include="Resources\WinClassic\WinClassicHWCV.png" />
<Content Include="Resources\WinClassic\WinClassicIE4.png" />
<Content Include="Resources\WinClassic\WinClassicInbox.png" />
+ <None Include="Resources\WinClassic\WinClassicInstallPic.png" />
<Content Include="Resources\WinClassic\WinClassicMSN.png" />
<Content Include="Resources\WinClassic\WinClassicNetworking.png" />
<None Include="Resources\WinClassic\WinClassicNotepad.png" />