how can i getting data from listbox in second form named listform while i am at first form
i have 开发者_Python百科search it a lot on google but not find any usefull ans...
I see these questions all the time
Create two forms one called form1 the other from2 drop a button on form 1 and a list box on from two use the defalut names for everything and put this code in your button click handler.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim f As New Form2()
f.Show()
f.ListBox1.Items.Add("Added somthing")
End Sub
精彩评论