开发者

accessing second form listbox from first form in vb [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜