Gute Nacht!
Ich habe eine frage unzwar wie kann ich die Drag and Drop funktion nutzen mit meinem DirectX Video Player
So aber jetzt weiß ich nicht wie ich das mit dem Video Player verbinden soll?!?!
Ich habe eine frage unzwar wie kann ich die Drag and Drop funktion nutzen mit meinem DirectX Video Player
VB.NET-Quellcode
- Private Sub KryptonListBox1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles KryptonListBox1.DragDrop
- Dim files As String() = CType(e.Data.GetData(DataFormats.FileDrop), String())
- For Each filename As String In files
- KryptonListBox1.Items.Add(filename)
- Next
- End Sub
- Private Sub KryptonListBox1_DragEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles KryptonListBox1.DragEnter
- If e.Data.GetDataPresent(DataFormats.FileDrop) Then
- e.Effect = DragDropEffects.Copy
- End If
- End Sub
So aber jetzt weiß ich nicht wie ich das mit dem Video Player verbinden soll?!?!