G
Guest
See the code below,why my listbox can't refresh after my do the RemoveAt attribute in the event of Button1_Click
I have used listbox1.refresh() and listbox1.update() ,but they didn't work
any ideas,Thank you for your hel
Private A As New ArrayLis
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
Dim i As Intege
For i = 0 To
A.Add(i * 100
Nex
ListBox1.DataSource =
End Su
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
Dim i As Intege
i = ListBox1.SelectedInde
A.RemoveAt(i
ListBox1.Update(
ListBox1.Refresh(
End Su
I have used listbox1.refresh() and listbox1.update() ,but they didn't work
any ideas,Thank you for your hel
Private A As New ArrayLis
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
Dim i As Intege
For i = 0 To
A.Add(i * 100
Nex
ListBox1.DataSource =
End Su
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
Dim i As Intege
i = ListBox1.SelectedInde
A.RemoveAt(i
ListBox1.Update(
ListBox1.Refresh(
End Su