REPRODUCTOR
MULTIMEDIA CON LISTA
Public Class Form1
Private Sub
Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
End Sub
Private Sub
OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal
e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
For Each track As String In OpenFileDialog1.FileNames
ListBox1.Items.Add(track)
Next
End Sub
Private Sub
ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles
ListBox1.SelectedIndexChanged
AxWindowsMediaPlayer1.URL = ListBox1.SelectedItem
End Sub
Private Sub
ToolStripDropDownButton2_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles
ToolStripDropDownButton2.Click
Me.Close()
End Sub
Private Sub
ToolStripDropDownButton1_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles
ToolStripDropDownButton1.Click
End Sub
End Class
No hay comentarios:
Publicar un comentario