List Box
List Box
List Box
ListBox1.Items.Add(TextBox1.Text)
TextBox1.Text = ""
End If
End Sub
Agregar
Private Sub Button3_Click(ByVal sender As
Private Sub Button2_Click(ByVal sender
System.Object, ByVal e As System.EventArgs)
As System.Object, ByVal e As
Handles Button3.Click
System.EventArgs) Handles Button2.Click
':::Procedimiento para reccorer un ListBox
Dim Total As Integer =
ListBox1.Items.RemoveAt(ListBox1.Selecte
ListBox1.Items.Count
dIndex())
Dim Valor As Integer = 0
':::Iniciamos nuestro ciclo for
For i = 0 To Total - 1
':::Validamos si el número es mayor Eliminar
a 100
If ListBox1.Items(i).ToString >
100 Then
Valor = Valor + 1
End If
Next
Label3.Text = Valor
Label5.Text = Total - Valor
End Sub
contar
TAREA suma