diff options
Diffstat (limited to 'windows 95/Windowsxp2002damaged.vb')
| -rwxr-xr-x | windows 95/Windowsxp2002damaged.vb | 12 |
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
|
