Hee Lian

Hee Lian

  • NA
  • 12
  • 4.3k

Passing Information from ListBox1 in Form1 to ListBox2 in Form2

Feb 4 2021 3:47 PM
How do I pass values from a listbox in one form to a listbox in another form?
 
How my application works is that in Form1, after user enters a text into a textbox, the text will be added to the listbox1 when i press on a button. Afterwards, when i click another button to show Form2, the items in the listbox1 should be displayed in the listbox2 in Form2. How do I do this?
 
I only learned the basics of C# so i'm not sure how to go about doing this.

Answers (1)