summaryrefslogtreecommitdiff
path: root/windows 95/Windowsxp2002damaged.vb
diff options
context:
space:
mode:
authorJamie Mansfield <[email protected]>2015-03-03 15:40:38 +0000
committerJamie Mansfield <[email protected]>2015-03-03 15:40:38 +0000
commit00a5f71b30a80ba0deac09986261244e043103ec (patch)
treea888214b53cae2e913dbd3f5de19f20f691f9585 /windows 95/Windowsxp2002damaged.vb
parent3ad025e3d28827c7a2491ba450766302618c8210 (diff)
parent3c9ecd0c0bea92954876af9adfd8f6296403e572 (diff)
downloadhistacom-00a5f71b30a80ba0deac09986261244e043103ec.tar.gz
histacom-00a5f71b30a80ba0deac09986261244e043103ec.tar.bz2
histacom-00a5f71b30a80ba0deac09986261244e043103ec.zip
Merge pull request #5 from TheUltimateHacker/master
Add shutdown sounds
Diffstat (limited to 'windows 95/Windowsxp2002damaged.vb')
-rwxr-xr-xwindows 95/Windowsxp2002damaged.vb12
1 files changed, 10 insertions, 2 deletions
diff --git a/windows 95/Windowsxp2002damaged.vb b/windows 95/Windowsxp2002damaged.vb
index 86a93df..88d1f0a 100755
--- a/windows 95/Windowsxp2002damaged.vb
+++ b/windows 95/Windowsxp2002damaged.vb
@@ -156,8 +156,16 @@
End Sub
- Private Sub turnoffcomputerbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles turnoffcomputerbutton.Click
- Title_Screen.Close()
+ Private Sub ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles turnoffcomputerbutton.Click
+ startmenu.Hide()
+ desktopicons.Hide()
+ taskbar.Hide()
+ startbutton.Hide()
+
+ Dim bStr(My.Resources.Windows_XP_Shutdown.Length) As Byte
+ My.Resources.Windows_XP_Shutdown.Read(bStr, 0, My.Resources.Windows_XP_Shutdown.Length)
+ My.Computer.Audio.Play(bStr, AudioPlayMode.WaitToComplete)
+ Me.Close()
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick