How do I access the items of a listview which in a another form inside a panel.
The Listview is inside a Panel……..Panel1
Panel1 is in a Form ………………Form 1
I have another form ………Form2, from where I want to input items to Listview in Form 1
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can access the Form1 listview items from Form2 using this:
Be careful accessing controls from other forms — you can accidentally cause events to fire which can make confusing errors. Sometimes it’s safer to assign the items to global variables or parameters for use in other forms.