Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.     Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
  2.         ListBox1.Items.Add("A") '增加Items
  3.         ListBox1.Items.Add("B")
  4.         ListBox1.Items.Add("C")
  5.         'Getting All Items
  6.         Dim sb As New System.Text.StringBuilder
  7.         For Each item In ListBox1.Items
  8.             sb.Append(item)
  9.             sb.Append(" ")
  10.         Next
  11.         MessageBox.Show(sb.ToString())
  12.     End Sub