1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
|
Public Class Internetexplorer62002damaged
Dim amount As Integer = 100
Dim chosenx As Integer
Dim choseny As Integer
Dim desktopx As Integer
Dim desktopy As Integer
Dim yran As New Random
Dim xran As New Random
Dim white As Boolean = True
Dim moveable As Boolean = True
Dim mexlocation, meylocation As Integer
Dim mewidth, meheight As Integer
Dim maximize As Boolean
Private Sub programtopbar_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles top.MouseDown
If moveable Then
If e.Button = MouseButtons.Left Then
top.Capture = False
Const WM_NCLBUTTONDOWN As Integer = &HA1S
Const HTCAPTION As Integer = 2
Dim msg As Message = _
Message.Create(Me.Handle, WM_NCLBUTTONDOWN, _
New IntPtr(HTCAPTION), IntPtr.Zero)
Me.DefWndProc(msg)
End If
End If
End Sub
Private Sub closebutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles closebutton.Click
End Sub
Private Sub pullside_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pullside.Tick
Me.Width = Cursor.Position.X - Me.Location.X
End Sub
Private Sub pullbottom_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pullbottom.Tick
Me.Height = Cursor.Position.Y - Me.Location.Y
End Sub
Private Sub pullbs_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles pullbs.Tick
Me.Width = Cursor.Position.X - Me.Location.X
Me.Height = Cursor.Position.Y - Me.Location.Y
End Sub
Private Sub Rightpull_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles right.MouseDown
pullside.Start()
End Sub
Private Sub rightpull_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles right.MouseUp
pullside.Stop()
End Sub
Private Sub bottompull_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottom.MouseDown
pullbottom.Start()
End Sub
Private Sub buttompull_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottom.MouseUp
pullbottom.Stop()
End Sub
Private Sub bspull_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottomrightcorner.MouseDown
pullbs.Start()
End Sub
Private Sub bspull_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottomrightcorner.MouseUp
pullbs.Stop()
End Sub
Private Sub maximizebutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles maximizebutton.Click
If Not maximize Then
meylocation = Windowsxp2002damaged.desktopicons.Height - Me.Height
mexlocation = Windowsxp2002damaged.desktopicons.Width - Me.Width
mewidth = Me.Width
meheight = Me.Height
bottomrightcorner.Hide()
bottomleftcorner.Hide()
left.Hide()
bottom.Hide()
right.Hide()
Dim w, h As Integer
w = Windowsxp2002damaged.desktopicons.Width
h = Windowsxp2002damaged.desktopicons.Height
Me.Location = New Point(0, 0)
Me.Size = New Size(w, h)
moveable = False
maximizebutton.Image = My.Resources.windowsxprestorebutton
maximize = True
toprightcorner.Hide()
topleftcorner.Hide()
Else
bottomrightcorner.Show()
bottomleftcorner.Show()
left.Show()
bottom.Show()
right.Show()
Me.Location = New Point(mexlocation, meylocation)
Me.Size = New Size(mewidth, meheight)
moveable = True
maximizebutton.Image = My.Resources.windowsxpmaximizebutton
maximize = False
toprightcorner.Show()
topleftcorner.Show()
End If
End Sub
Private Sub look_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles look.Tick
Me.top.BackColor = Windowsxp2002damaged.top.BackColor
Me.top.BackgroundImage = Windowsxp2002damaged.top.BackgroundImage
Me.programname.ForeColor = Windowsxp2002damaged.programname.ForeColor
End Sub
Private Sub viruscountdown_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles labelflash.Tick
If white Then
original.ForeColor = Color.Black
white = False
Else
original.ForeColor = Color.White
white = True
End If
End Sub
Private Sub Internetexplorer62002damaged_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
labelflash.Start()
amounttimer.Start()
commandpromptxp.Close()
Timer1.Start()
Timer2.Start()
Timer3.Start()
desktopy = Windowsxp2002damaged.desktopicons.Size.Height
desktopx = Windowsxp2002damaged.desktopicons.Size.Width
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
choseny = yran.Next(1, desktopy)
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
chosenx = xran.Next(1, desktopx)
End Sub
Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
Dim newlabel As New _2002_virus_labels
newlabel.Show()
Label1.Text = chosenx
Label2.Text = choseny
newlabel.Location = New Point(Label1.Text, Label2.Text)
newlabel.original.ForeColor = Color.Black
End Sub
Private Sub amounttimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles amounttimer.Tick
If amount = 90 Then maximizebutton.Image = closebutton.Image
If amount = 89 Then minimizebutton.Image = closebutton.Image
If amount = 88 Then Button8.Image = closebutton.Image
If amount = 87 Then Button13.Image = My.Resources.windowsxperror
If amount = 86 Then Button12.Image = My.Resources.windowsxperror
If amount = 85 Then Button11.Image = My.Resources.windowsxperror
If amount = 84 Then Button10.Image = My.Resources.windowsxperror
If amount = 83 Then Button7.Image = My.Resources.windowsxperror
If amount = 82 Then Button9.Image = My.Resources.windowsxperror
If amount = 81 Then Button6.Image = My.Resources.windowsxperror
If amount = 80 Then Button5.Image = My.Resources.windowsxperror
If amount = 79 Then Button4.Image = My.Resources.windowsxperror
If amount = 78 Then Button3.Image = My.Resources.windowsxperror
If amount = 77 Then Button2.Image = My.Resources.windowsxperror
If amount = 76 Then Button1.Image = My.Resources.windowsxperror
If amount = 75 Then Button6.Text = ""
If amount = 74 Then Button9.Text = ""
If amount = 73 Then Button1.Text = ""
If amount = 72 Then programname.ForeColor = Color.Red
If amount = 71 Then programname.Text = "Internet Exploiter 6"
If amount = 70 Then
programname.Text = "Internet Exploiter 66"
addressbar.BackColor = Color.Lime
End If
If amount = 69 Then
addressbar.ForeColor = Color.Red
programname.Text = "Internet Exploiter 666"
End If
If amount = 68 Then Button8.BackColor = Color.Purple
If amount = 67 Then
adresss.Text = "Virus:"
Button13.BackColor = Color.Lime
adresss.ForeColor = Color.Red
End If
If amount = 66 Then
Panel24.BackColor = Color.Black
Button12.BackColor = Color.Lime
Button13.BackColor = Color.Red
Button13.Image = Nothing
End If
If amount = 65 Then
Button13.Hide()
Button12.BackColor = Color.Red
Button12.Image = Nothing
Button11.BackColor = Color.Lime
Button8.Image = Nothing
End If
If amount = 64 Then
Button12.Hide()
Button11.BackColor = Color.Red
Button11.Image = Nothing
Button10.BackColor = Color.Lime
Button8.BackColor = Color.Black
End If
If amount = 63 Then
Button11.Hide()
Button10.BackColor = Color.Red
Button10.Image = Nothing
Button7.BackColor = Color.Lime
addressbar.BackColor = Color.Black
End If
If amount = 62 Then
Button10.Hide()
Button7.BackColor = Color.Red
Button7.Image = Nothing
Button9.BackColor = Color.Lime
addressbar.BackColor = Color.Black
End If
If amount = 61 Then
Button7.Hide()
Button9.BackColor = Color.Red
Button9.Image = Nothing
Button6.BackColor = Color.Lime
addressbar.ForeColor = Color.Black
End If
If amount = 60 Then
Button9.Hide()
Button6.BackColor = Color.Red
Button6.Image = Nothing
Button5.BackColor = Color.Lime
adresss.BackColor = Color.Black
End If
If amount = 59 Then
Button6.Hide()
Button5.BackColor = Color.Red
Button5.Image = Nothing
Button4.BackColor = Color.Lime
adresss.ForeColor = Color.Black
End If
If amount = 58 Then
Button5.Hide()
Button4.BackColor = Color.Red
Button4.Image = Nothing
Button3.BackColor = Color.Lime
Panel24.Hide()
End If
If amount = 57 Then
Button4.Hide()
Button3.BackColor = Color.Red
Button3.Image = Nothing
Button2.BackColor = Color.Lime
Panel13.BackColor = Color.Black
End If
If amount = 56 Then
Button3.Hide()
Button2.BackColor = Color.Red
Button2.Image = Nothing
Button1.BackColor = Color.Lime
MenuStrip3.BackColor = Color.White
End If
If amount = 54 Then
Button2.Hide()
Button1.BackColor = Color.Red
Button1.Image = Nothing
MenuStrip3.BackColor = Color.Black
End If
If amount = 54 Then
Button1.Hide()
Panel13.Hide()
End If
If amount = 53 Then
MenuStrip3.Hide()
End If
If amount = 52 Then
top.BackgroundImage = My.Resources.windowsxperror
toprightcorner.Hide()
bottomrightcorner.Hide()
left.Hide()
right.Hide()
bottom.Hide()
topleftcorner.Hide()
bottomleftcorner.Hide()
browsingarea.BackColor = Color.Black
End If
If amount = 51 Then
browsingarea.BackColor = Color.White
End If
If amount = 50 Then
Me.Hide()
End If
If amount = 49 Then
Windowsxp2002damaged.desktopicons.BackgroundImage = My.Resources.windowsxperror
Windowsxp2002damaged.desktopicons.BackgroundImageTiled = True
Windowsxp2002damaged.BackgroundImage = Nothing
End If
If amount = 48 Then
Windowsxp2002damaged.Label1.Show()
End If
If amount = 47 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
Windowsxp2002damaged.taskbartime.BackColor = Color.Red
End If
If amount = 46 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
Windowsxp2002damaged.taskbartime.Text = "infected"
End If
If amount = 45 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
Windowsxp2002damaged.desktopicons.BackgroundImage = Nothing
Windowsxp2002damaged.desktopicons.Hide()
End If
If amount = 44 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
Windowsxp2002damaged.BackColor = Color.Black
End If
If amount = 43 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
Windowsxp2002damaged.startbutton.Image = My.Resources.windowsxpclosebutton
End If
If amount = 42 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
Windowsxp2002damaged.startbutton.Image = Nothing
End If
If amount = 41 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
Windowsxp2002damaged.startbutton.BackColor = Color.White
End If
If amount = 40 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
Windowsxp2002damaged.startbutton.BackColor = Color.Black
Windowsxp2002damaged.taskbar.BackgroundImage = My.Resources.windowsxpclosebutton
End If
If amount = 39 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
Windowsxp2002damaged.taskbar.BackgroundImage = Nothing
Windowsxp2002damaged.taskbar.BackColor = Color.White
Windowsxp2002damaged.startbutton.Hide()
Windowsxp2002damaged.taskbartime.Image = My.Resources.windowsxpclosebutton
End If
If amount = 38 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
Windowsxp2002damaged.taskbar.BackColor = Color.Black
Windowsxp2002damaged.Panel10.BackgroundImage = Nothing
Windowsxp2002damaged.Panel10.BackColor = Color.White
End If
If amount = 37 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
Windowsxp2002damaged.Panel10.BackColor = Color.Black
Windowsxp2002damaged.taskbartime.Hide()
End If
If amount = 36 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
Windowsxp2002damaged.Label1.Text = "Welcome To a World Without computers!"
End If
If amount = 35 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
End If
If amount = 34 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
End If
If amount = 33 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
End If
If amount = 32 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
End If
If amount = 31 Then
Windowsxp2002damaged.Label1.ForeColor = Color.Black
End If
If amount = 30 Then
Windowsxp2002damaged.Label1.ForeColor = Color.White
End If
If amount = 20 Then
Title_Screen.Close()
End If
amount -= 1
End Sub
End Class
|