CLASE 23 DE MAYO
EJERCICIO EN CLASE
PublicClassForm1
PrivateSub ListBox1_SelectedIndexChanged (By Val sender AsSystem. Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
EndSub
PrivateSub Button1_Click(By Val sender AsSystem. Object, ByVal e As System.EventArgs) Handles Button1.Click
listbox1.Items.Add (TextBox1.Text)
EndSub
PrivateSub Button2_Click (ByVal sender AsSystem. Object, ByVal e As System.EventArgs) Handles Button2.Click
ListBox1.Items.RemoveAt (ListBox1.SelectedIndex)
No hay comentarios:
Publicar un comentario