For Each lbItem As String In ListBox2.Items
If lbItem.Contains("toto1234") Then
ListBox2.SelectedItem = lbItem
Return
End If
Next
maListBox.DataSource = maListe
Dim index = maListe.IndexOf(item)
Dim index as Integer For i = 0 to ListBox2.Items.Count -1 If ListBox2.Items(i) = "toto1234" Then index = i break End if Next
Dim index as Integer For i = 0 to ListBox2.Items.Count -1 If ListBox2.Items(i) = "toto1234" Then index = i break End if Next
Je n'utilise pas de Binding source car j'essai de récupérer mes adresses IP listées dans ma listbox
4 févr. 2019 à 22:55