diff options
Diffstat (limited to 'windows 95/Windows98.vb')
| -rwxr-xr-x | windows 95/Windows98.vb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/windows 95/Windows98.vb b/windows 95/Windows98.vb index e86f07b..4b484d3 100755 --- a/windows 95/Windows98.vb +++ b/windows 95/Windows98.vb @@ -163,8 +163,16 @@ startmenu.Hide()
End Sub
- Private Sub ShutdownToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ShutdownToolStripMenuItem1.Click
- Title_Screen.Close()
+ Private Sub ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ShutdownToolStripMenuItem1.Click
+ startmenu.Hide()
+ desktopicons.Hide()
+ taskbar.Hide()
+ startbutton.Hide()
+
+ Dim bStr(My.Resources.Windows_98_Shutdown.Length) As Byte
+ My.Resources.Windows_98_Shutdown.Read(bStr, 0, My.Resources.Windows_98_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
|
