السلام عليكم
تشغيل بعض اصوات النظام عن طريق لغة VB.net
اي استفسار انا موجودكود PHP:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
My.Computer.Audio.PlaySystemSound _
(Media.SystemSounds.Asterisk)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
My.Computer.Audio.PlaySystemSound _
(Media.SystemSounds.Beep)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
My.Computer.Audio.PlaySystemSound _
(Media.SystemSounds.Exclamation)
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
My.Computer.Audio.PlaySystemSound _
(Media.SystemSounds.Hand)
End Sub
End Class
'1-تشغيل بعض الاصوات الخاصة بالنظام
اتمنى لكم التوفيق