setting up the 2k travel

This commit is contained in:
lempamo 2018-02-19 20:11:58 -05:00
parent 4d432950a1
commit a3dbe64889
3 changed files with 30 additions and 3 deletions

View file

@ -120,12 +120,25 @@ public static async void VirusDestruction(WinClassicIE6Bad ie)
new AchievementBox(1); new AchievementBox(1);
} }
public static async void Travel2K() public static async void Travel2K(WinClassicTimeDistorter3Bad td)
{ {
await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> looks like youre going back to 2000");
await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> this means it would be like you never made it here");
await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> for you youve gone from 98 to 99");
await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> then the time distorter glicthed and sent you to 2002");
await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> but since youre going to 2000, itll be like the distorter never glitched out");
await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> so youll have to pretend you made it safely here");
await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> oh and also, youll be the only one who knows about coming here");
await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> i wont remember because i wont be coming with you, youll be meeting with past me");
await Task.Delay(6000); Console.WriteLine("TheHiddenHacker> also also im really glad you chose 2000, im not sure we could tell 12padams the story and make him believe it");
await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> looks like its almost time");
await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> bye, and good luck to you");
await Task.Delay(3000); Console.WriteLine("telnet> 104.27.135.159 Disconnected.");
await Task.Delay(td.secsLeft * 1000);
} }
public static async void TravelME() public static async void TravelME(WinClassicTimeDistorter3Bad td)
{ {
} }

View file

@ -109,6 +109,10 @@ private void InitializeComponent()
this.label3.Text = "Current Year:"; this.label3.Text = "Current Year:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// WinClassicTimeDistorter3Bad // WinClassicTimeDistorter3Bad
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

View file

@ -12,6 +12,8 @@ namespace Histacom2.OS.WinXPBad
{ {
public partial class WinClassicTimeDistorter3Bad : UserControl public partial class WinClassicTimeDistorter3Bad : UserControl
{ {
public int secsLeft = 60;
public WinClassicTimeDistorter3Bad() public WinClassicTimeDistorter3Bad()
{ {
InitializeComponent(); InitializeComponent();
@ -19,12 +21,20 @@ public WinClassicTimeDistorter3Bad()
private void buttonXP1_Click(object sender, EventArgs e) private void buttonXP1_Click(object sender, EventArgs e)
{ {
buttonXP1.Hide();
buttonXP2.Hide();
timer1.Start();
} }
private void buttonXP2_Click(object sender, EventArgs e) private void buttonXP2_Click(object sender, EventArgs e)
{ {
buttonXP1.Hide();
buttonXP2.Hide();
}
private void timer1_Tick(object sender, EventArgs e)
{
label2.Text = secsLeft--.ToString();
} }
} }
} }