mirror of
https://github.com/Histacom/Histacom.git
synced 2025-01-22 09:02:00 -05:00
Shutdown sounds added, along with new Windows 2000 startup and shutdown to match the actual Windows 2000 startup and shutdown sounds rather than reusing the sounds from Windows ME.
This commit is contained in:
parent
70be688142
commit
3c9ecd0c0b
10 changed files with 28 additions and 12 deletions
BIN
windows 95/Resources/Windows 2000 Shutdown.wav
Normal file
BIN
windows 95/Resources/Windows 2000 Shutdown.wav
Normal file
Binary file not shown.
BIN
windows 95/Resources/Windows 2000 Startup.wav
Normal file
BIN
windows 95/Resources/Windows 2000 Startup.wav
Normal file
Binary file not shown.
BIN
windows 95/Resources/Windows 95 Shutdown.wav
Normal file
BIN
windows 95/Resources/Windows 95 Shutdown.wav
Normal file
Binary file not shown.
BIN
windows 95/Resources/Windows 98 Shutdown.wav
Normal file
BIN
windows 95/Resources/Windows 98 Shutdown.wav
Normal file
Binary file not shown.
BIN
windows 95/Resources/Windows ME Startup.wav
Normal file
BIN
windows 95/Resources/Windows ME Startup.wav
Normal file
Binary file not shown.
BIN
windows 95/Resources/Windows Vista Shutdown.wav
Normal file
BIN
windows 95/Resources/Windows Vista Shutdown.wav
Normal file
Binary file not shown.
|
@ -10,9 +10,9 @@
|
||||||
|
|
||||||
Private Sub windows95_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
|
Private Sub windows95_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
|
||||||
desktopicons.Show()
|
desktopicons.Show()
|
||||||
If My.Resources.windows_2000_boot_sound.CanRead Then
|
If My.Resources.Windows_2000_Startup.CanRead Then
|
||||||
Dim bStr(My.Resources.windows_2000_boot_sound.Length) As Byte
|
Dim bStr(My.Resources.Windows_2000_Startup.Length) As Byte
|
||||||
My.Resources.windows_2000_boot_sound.Read(bStr, 0, My.Resources.windows_2000_boot_sound.Length)
|
My.Resources.Windows_2000_Startup.Read(bStr, 0, My.Resources.Windows_2000_Startup.Length)
|
||||||
My.Computer.Audio.Play(bStr, AudioPlayMode.Background)
|
My.Computer.Audio.Play(bStr, AudioPlayMode.Background)
|
||||||
End If
|
End If
|
||||||
startmenu.Hide()
|
startmenu.Hide()
|
||||||
|
@ -263,8 +263,8 @@
|
||||||
taskbar.Hide()
|
taskbar.Hide()
|
||||||
startbutton.Hide()
|
startbutton.Hide()
|
||||||
|
|
||||||
Dim bStr(My.Resources.Windows_ME_Shutdown.Length) As Byte
|
Dim bStr(My.Resources.Windows_2000_Shutdown.Length) As Byte
|
||||||
My.Resources.Windows_ME_Shutdown.Read(bStr, 0, My.Resources.Windows_ME_Shutdown.Length)
|
My.Resources.Windows_2000_Shutdown.Read(bStr, 0, My.Resources.Windows_2000_Shutdown.Length)
|
||||||
My.Computer.Audio.Play(bStr, AudioPlayMode.WaitToComplete)
|
My.Computer.Audio.Play(bStr, AudioPlayMode.WaitToComplete)
|
||||||
Me.Close()
|
Me.Close()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
|
@ -163,8 +163,16 @@
|
||||||
startmenu.Hide()
|
startmenu.Hide()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub ShutdownToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ShutdownToolStripMenuItem1.Click
|
Private Sub ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ShutdownToolStripMenuItem1.Click
|
||||||
Title_Screen.Close()
|
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
|
End Sub
|
||||||
|
|
||||||
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
|
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
|
||||||
|
|
|
@ -156,8 +156,16 @@
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub turnoffcomputerbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles turnoffcomputerbutton.Click
|
Private Sub ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles turnoffcomputerbutton.Click
|
||||||
Title_Screen.Close()
|
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
|
End Sub
|
||||||
|
|
||||||
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
|
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
|
|
||||||
Private Sub windows95_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
|
Private Sub windows95_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
|
||||||
desktopicons.Show()
|
desktopicons.Show()
|
||||||
If My.Resources.windows_2000_boot_sound.CanRead Then
|
If My.Resources.Windows_ME_Shutdown.CanRead Then
|
||||||
Dim bStr(My.Resources.windows_2000_boot_sound.Length) As Byte
|
Dim bStr(My.Resources.Windows_ME_Shutdown.Length) As Byte
|
||||||
My.Resources.windows_2000_boot_sound.Read(bStr, 0, My.Resources.windows_2000_boot_sound.Length)
|
My.Resources.Windows_ME_Shutdown.Read(bStr, 0, My.Resources.Windows_ME_Shutdown.Length)
|
||||||
My.Computer.Audio.Play(bStr, AudioPlayMode.Background)
|
My.Computer.Audio.Play(bStr, AudioPlayMode.Background)
|
||||||
End If
|
End If
|
||||||
startmenu.Hide()
|
startmenu.Hide()
|
||||||
|
|
Loading…
Reference in a new issue