2
Answers

Passing value from one form to another

Ask a question
Navneet Rana

Navneet Rana

11y
1.2k
1

Passing the listBox1.SelectedItem value from one form to another?
The output for the listBox1.SelectedItem in Form1 is a path (eg: "E:\\New Files")
Now Form2 basically contains the code for an application. I want to use the output of this selectedItem in Form2. 
Please help me as I am very new to C#.
Thank you in advance

Answers (2)