diff options
| author | lempamo <[email protected]> | 2017-10-29 09:04:22 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-10-29 09:04:22 -0400 |
| commit | 06bfbc380cdae9ef21b492fe9f59273cab056ccb (patch) | |
| tree | 4b88f456d4008b8f2092dc904803613e8c29f813 /Histacom2/OS/WinXPBad/Story/Hack4.cs | |
| parent | d73bed3a5e57dace6215d0dafc52cf16c19db0a9 (diff) | |
| download | histacom2-06bfbc380cdae9ef21b492fe9f59273cab056ccb.tar.gz histacom2-06bfbc380cdae9ef21b492fe9f59273cab056ccb.tar.bz2 histacom2-06bfbc380cdae9ef21b492fe9f59273cab056ccb.zip | |
some "virus" stuff
Diffstat (limited to 'Histacom2/OS/WinXPBad/Story/Hack4.cs')
| -rw-r--r-- | Histacom2/OS/WinXPBad/Story/Hack4.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Histacom2/OS/WinXPBad/Story/Hack4.cs b/Histacom2/OS/WinXPBad/Story/Hack4.cs index c47f562..3a95c05 100644 --- a/Histacom2/OS/WinXPBad/Story/Hack4.cs +++ b/Histacom2/OS/WinXPBad/Story/Hack4.cs @@ -3,6 +3,7 @@ using Histacom2.Engine.Template; using Histacom2.GlobalPrograms; using System; using System.Collections.Generic; +using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -63,5 +64,24 @@ namespace Histacom2.OS.WinXPBad.Story 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"); } + + public static async void VirusDestruction(WinClassicIE6Bad ie) + { + await Task.Delay(10000); ((WinClassic)ie.ParentForm).maximizebutton.Image = ((WinClassic)ie.ParentForm).closebutton.Image; + await Task.Delay(1000); ((WinClassic)ie.ParentForm).minimizebutton.Image = ((WinClassic)ie.ParentForm).closebutton.Image; + await Task.Delay(1000); ie.toolStripMenuItem8.Image = Properties.Resources.WinXPError; + await Task.Delay(1000); ie.toolStripMenuItem7.Image = Properties.Resources.WinXPError; + await Task.Delay(1000); ie.toolStripMenuItem5.Image = Properties.Resources.WinXPError; + await Task.Delay(1000); ie.toolStripMenuItem4.Image = Properties.Resources.WinXPError; + await Task.Delay(1000); ie.toolStripMenuItem3.Image = Properties.Resources.WinXPError; + await Task.Delay(1000); ie.toolStripMenuItem2.Image = Properties.Resources.WinXPError; + await Task.Delay(1000); ie.backToolStripMenuItem.Image = Properties.Resources.WinXPError; + await Task.Delay(3000); ie.comboBox1.BackColor = Color.Lime; + await Task.Delay(1000); ie.comboBox1.ForeColor = Color.Red; + await Task.Delay(1000); ie.classicLabel1.Text = "Virus:"; ie.classicLabel1.ForeColor = Color.Red; ie.toolStripMenuItem8.BackColor = Color.Lime; + await Task.Delay(1000); ie.toolStripMenuItem8.Image = null; ie.toolStripMenuItem8.BackColor = Color.Red; ie.toolStripMenuItem7.BackColor = Color.Lime; ie.panel2.BackColor = Color.Black; + await Task.Delay(1000); ie.toolStripMenuItem7.Image = null; ie.toolStripMenuItem7.BackColor = Color.Red; ie.toolStripMenuItem5.BackColor = Color.Lime; ie.toolStripMenuItem8.Visible = false; ie.toolStripMenuItem6.Visible = false; + await Task.Delay(1000); ie.toolStripMenuItem5.Image = null; ie.toolStripMenuItem5.BackColor = Color.Red; ie.toolStripMenuItem4.BackColor = Color.Lime; ie.toolStripMenuItem7.Visible = false; ie.comboBox1.BackColor = Color.Black; + } } } |
