aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs61
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.cs24
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx17
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs10
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs7
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs9
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx1
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs2
-rw-r--r--TimeHACK.Main/Resources/IE4/padams.html1
10 files changed, 124 insertions, 10 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs
index 0bfab81..d19c533 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.Designer.cs
@@ -36,8 +36,13 @@
this.cancelbutton1 = new System.Windows.Forms.Button();
this.nextbutton1 = new System.Windows.Forms.Button();
this.backbutton1 = new System.Windows.Forms.Button();
+ this.label2 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.checkBox1 = new System.Windows.Forms.CheckBox();
+ this.panel1 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.installPic)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// installPic
@@ -97,23 +102,69 @@
this.nextbutton1.TabIndex = 5;
this.nextbutton1.Text = "Next";
this.nextbutton1.UseVisualStyleBackColor = true;
+ this.nextbutton1.Click += new System.EventHandler(this.nextbutton1_Click);
//
// backbutton1
//
this.backbutton1.Enabled = false;
this.backbutton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.backbutton1.Location = new System.Drawing.Point(241, 301);
+ this.backbutton1.Location = new System.Drawing.Point(235, 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;
//
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(-3, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(263, 13);
+ this.label2.TabIndex = 7;
+ this.label2.Text = "Please read and agree to the EULA before continuing.";
+ //
+ // textBox1
+ //
+ this.textBox1.AcceptsReturn = true;
+ this.textBox1.BackColor = System.Drawing.Color.White;
+ this.textBox1.Location = new System.Drawing.Point(0, 28);
+ this.textBox1.Multiline = true;
+ this.textBox1.Name = "textBox1";
+ this.textBox1.ReadOnly = true;
+ this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox1.Size = new System.Drawing.Size(318, 209);
+ this.textBox1.TabIndex = 8;
+ this.textBox1.Text = resources.GetString("textBox1.Text");
+ //
+ // checkBox1
+ //
+ this.checkBox1.AutoSize = true;
+ this.checkBox1.Location = new System.Drawing.Point(0, 243);
+ this.checkBox1.Name = "checkBox1";
+ this.checkBox1.Size = new System.Drawing.Size(215, 17);
+ this.checkBox1.TabIndex = 9;
+ this.checkBox1.Text = "I hereby agree to the terms in the EULA.";
+ this.checkBox1.UseVisualStyleBackColor = true;
+ this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.checkBox1);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.textBox1);
+ this.panel1.Location = new System.Drawing.Point(150, 16);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(318, 260);
+ this.panel1.TabIndex = 10;
+ this.panel1.Visible = false;
+ //
// 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.panel1);
this.Controls.Add(this.backbutton1);
this.Controls.Add(this.nextbutton1);
this.Controls.Add(this.cancelbutton1);
@@ -122,10 +173,12 @@
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.installPic);
this.Name = "Win95Installer";
- this.Size = new System.Drawing.Size(488, 340);
+ this.Size = new System.Drawing.Size(483, 340);
this.Load += new System.EventHandler(this.Win95Installer_Load);
((System.ComponentModel.ISupportInitialize)(this.installPic)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -140,5 +193,9 @@
private System.Windows.Forms.Button cancelbutton1;
private System.Windows.Forms.Button nextbutton1;
private System.Windows.Forms.Button backbutton1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.CheckBox checkBox1;
+ private System.Windows.Forms.Panel panel1;
}
}
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;
+ }
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx
index 3c5d753..535ee98 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Installer.resx
@@ -129,4 +129,21 @@ WARNING: This program is protected by copyright law and international treaties.
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>
+ <data name="textBox1.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.
+
+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.
+
+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.
+
+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.
+
+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>
+ </data>
</root> \ No newline at end of file
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
index 485b982..2e83e62 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
@@ -30,11 +30,11 @@
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {
- "/software/"}, -1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null);
+ "/software/"}, 0, System.Drawing.Color.Black, System.Drawing.Color.Empty, null);
System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] {
- "index.html"}, -1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null);
+ "index.html"}, 1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null);
System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] {
- "???.html"}, -1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null);
+ "???.html"}, 1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null);
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicFTPClient));
this.topBar = new System.Windows.Forms.Panel();
this.button1 = new System.Windows.Forms.Button();
@@ -180,10 +180,10 @@
this.panel1.Size = new System.Drawing.Size(762, 30);
this.panel1.TabIndex = 9;
//
- // cancelButton
+ // button2
//
this.button2.Location = new System.Drawing.Point(3, 2);
- this.button2.Name = "cancelButton";
+ this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 0;
this.button2.Text = "cancelButton";
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
index ab7e61f..b1caef9 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
@@ -33,6 +33,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
infoLabel.Text = "[200] OK";
welcomeLabel.Hide();
infoLabel.Show();
+ ftpFiles.Show();
}
else
{
@@ -57,9 +58,13 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position);
ListViewItem objListViewItem = new ListViewItem();
- if (objListViewItem.Text == "/software/")
+ if (objDrawingPoint != null)
{
+ objListViewItem = ftpFiles.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y);
+ if (objListViewItem.Text == "/software/")
+ {
+ }
}
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx
index 7b49ca1..28053de 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx
@@ -128,7 +128,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAO
- DwAAAk1TRnQBSQFMAgEBAgEAAQgBAAEIAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ DwAAAk1TRnQBSQFMAgEBAgEAARABAAEQAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
index d70b520..81b8504 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
@@ -206,6 +206,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
break;
case "12PADAMS":
webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click);
+ webBrowser1.Document.GetElementById("ftp_b").Click += new HtmlElementEventHandler(FTPDownloadButton_Click);
if (!TitleScreen.frm95.hiddenpadamsFound) webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;";
break;
case "GOOGLE":
@@ -221,6 +222,14 @@ namespace TimeHACK.OS.Win95.Win95Apps
}
}
+ private void FTPDownloadButton_Click(object sender, HtmlElementEventArgs e)
+ {
+ WinClassicDownloader opendownload = new WinClassicDownloader();
+ WindowManager wm = new WindowManager();
+ wm.StartWin95(opendownload, "Downloader", null, false, true);
+ opendownload.appName.Text = "Downloading: FTP Client";
+ }
+
//TODO: Add more websites
//TODO: Relabel Buttons And Things
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx
index 02cc277..f508cca 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.resx
@@ -301,6 +301,7 @@ Where do you want to go today?&lt;/p&gt;
&lt;h1&gt;Games/Software&lt;/h1&gt;
&lt;p class="app" id="gtn"&gt;Guess the Number V1 &lt;button id="gtn_b"&gt;Download&lt;/button&gt;&lt;/p&gt;
&lt;p class="app" id="wc"&gt;Web Chat 1998 &lt;button id="wc_b"&gt;Download&lt;/button&gt;&lt;/p&gt;
+ &lt;p class="app" id="ftp"&gt;FTP Client &lt;button id="ftp_b"&gt;Download&lt;/button&gt;&lt;/p&gt;
&lt;p class="app" id="distort"&gt;Time Distorter 0.1 &lt;button id="distort_b"&gt;Download&lt;/button&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;td&gt;&lt;div class="customize"&gt;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs
index 98ad7bc..4e731fe 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs
@@ -103,7 +103,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
SaveSystem.CurrentSave.ThemeName = "insidepc";
SaveSystem.currentTheme = new InsideComputerTheme();
TitleScreen.frm95.BackgroundImage = Properties.Resources.ICTheme_BG;
- TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.DCTheme_BG, TitleScreen.frm95.desktopicons.Width, TitleScreen.frm95.desktopicons.Height);
+ TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.desktopicons.Width, TitleScreen.frm95.desktopicons.Height);
break;
}
ParentForm.Close();
diff --git a/TimeHACK.Main/Resources/IE4/padams.html b/TimeHACK.Main/Resources/IE4/padams.html
index af12151..cc16191 100644
--- a/TimeHACK.Main/Resources/IE4/padams.html
+++ b/TimeHACK.Main/Resources/IE4/padams.html
@@ -50,6 +50,7 @@
<h1>Games/Software</h1>
<p class="app" id="gtn">Guess the Number V1 <button id="gtn_b">Download</button></p>
<p class="app" id="wc">Web Chat 1998 <button id="wc_b">Download</button></p>
+ <p class="app" id="ftp">FTP Client <button id="ftp_b">Download</button></p>
<p class="app" id="distort">Time Distorter 0.1 <button id="distort_b">Download</button></p>
</div></td>
<td><div class="customize">