From e639c4a8a5505a0b2caeba3173c5cdc2d64219e0 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 29 Oct 2017 16:53:50 -0400 Subject: time distorter 3 is openable --- Histacom2/Histacom2.csproj | 1 + Histacom2/OS/WinXPBad/Story/Hack4.cs | 7 ++++--- .../OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs | 8 ++++---- Histacom2/OS/WinXPBad/WinXPBad.cs | 1 + Histacom2/Properties/Resources.resx | 3 +++ Histacom2/Properties/Resources1.Designer.cs | 10 ++++++++++ Histacom2/Resources/WinClassic/TimeDistorter3Icon.png | Bin 0 -> 976 bytes 7 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 Histacom2/Resources/WinClassic/TimeDistorter3Icon.png diff --git a/Histacom2/Histacom2.csproj b/Histacom2/Histacom2.csproj index 8ede65e..254f48f 100644 --- a/Histacom2/Histacom2.csproj +++ b/Histacom2/Histacom2.csproj @@ -891,6 +891,7 @@ + diff --git a/Histacom2/OS/WinXPBad/Story/Hack4.cs b/Histacom2/OS/WinXPBad/Story/Hack4.cs index a81d2c4..96c262e 100644 --- a/Histacom2/OS/WinXPBad/Story/Hack4.cs +++ b/Histacom2/OS/WinXPBad/Story/Hack4.cs @@ -61,9 +61,10 @@ namespace Histacom2.OS.WinXPBad.Story await Task.Delay(1000); WinClassicDownloader opendownload = new WinClassicDownloader(); - wm.Init(opendownload, "Downloader", null, false, true); - opendownload.appName.Text = "Downloading: Web Chat 1998"; - opendownload.amountToDL = 35; + wm.InitXP(opendownload, "Downloader", null, false, true); + opendownload.appName.Text = "Downloading: Time Distorter 0.3"; + opendownload.amountToDL = 38; + opendownload.BackColor = Color.OldLace; await Task.Delay(5000); Console.WriteLine("telnet> Transfer complete."); await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> now open up the time distorter and make a choice, ill wait"); diff --git a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs index 664e903..61fff46 100644 --- a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs +++ b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs @@ -41,9 +41,9 @@ this.classicLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.classicLabel1.DropShadow = false; this.classicLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.classicLabel1.Location = new System.Drawing.Point(43, 34); + this.classicLabel1.Location = new System.Drawing.Point(45, 34); this.classicLabel1.Name = "classicLabel1"; - this.classicLabel1.Size = new System.Drawing.Size(270, 120); + this.classicLabel1.Size = new System.Drawing.Size(262, 120); this.classicLabel1.TabIndex = 2; this.classicLabel1.Text = "2002"; // @@ -98,7 +98,7 @@ // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(116, 28); + this.label3.Location = new System.Drawing.Point(119, 28); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(103, 16); this.label3.TabIndex = 7; @@ -117,7 +117,7 @@ this.Controls.Add(this.buttonXP1); this.Controls.Add(this.classicLabel1); this.Name = "WinClassicTimeDistorter3Bad"; - this.Size = new System.Drawing.Size(356, 235); + this.Size = new System.Drawing.Size(340, 235); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Histacom2/OS/WinXPBad/WinXPBad.cs b/Histacom2/OS/WinXPBad/WinXPBad.cs index d73ada2..4326d99 100644 --- a/Histacom2/OS/WinXPBad/WinXPBad.cs +++ b/Histacom2/OS/WinXPBad/WinXPBad.cs @@ -171,6 +171,7 @@ namespace Histacom2.OS.WinXPBad { if (objListViewItem.Text == "Time Distorter 0.3") { + wm.InitXP(new WinClassicTimeDistorter3Bad(), "Time Distorter 0.3", Properties.Resources.TimeDistorter3Icon, false, false, false, false); /*if (ie != null) { wm.StartInfobox95("Error Opening Internet Explorer", "An instance of Internet Explorer 4 is already open.", InfoboxType.Warning, InfoboxButtons.OK); return; } ie = wm.Init(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true); AddTaskBarItem(ie, ie.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconIE4); diff --git a/Histacom2/Properties/Resources.resx b/Histacom2/Properties/Resources.resx index 50d5168..2ae17b9 100644 --- a/Histacom2/Properties/Resources.resx +++ b/Histacom2/Properties/Resources.resx @@ -2098,6 +2098,9 @@ ..\Resources\WinClassic\sliveroldlace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\WinClassic\TimeDistorter3Icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\WinClassic\WinXPClose.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/Histacom2/Properties/Resources1.Designer.cs b/Histacom2/Properties/Resources1.Designer.cs index 35bc41e..af3cf47 100644 --- a/Histacom2/Properties/Resources1.Designer.cs +++ b/Histacom2/Properties/Resources1.Designer.cs @@ -1103,6 +1103,16 @@ namespace Histacom2.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap TimeDistorter3Icon { + get { + object obj = ResourceManager.GetObject("TimeDistorter3Icon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/Histacom2/Resources/WinClassic/TimeDistorter3Icon.png b/Histacom2/Resources/WinClassic/TimeDistorter3Icon.png new file mode 100644 index 0000000..cb7debc Binary files /dev/null and b/Histacom2/Resources/WinClassic/TimeDistorter3Icon.png differ -- cgit v1.2.3