Hi ,

I want to add new windows form in the present windows application. Which should be used to get some details from user and then i want those information back into my main form.
Please help me to do this. I tried but iam able to show those in Form1 but unable to store that in Form1..

Please suggest me here.

Thanks a lot,
~ Anjali ~

Simple way is to just mark the components in the second form as public (modifier property), and read the results back from the main form.

Ya tried like that, but its showing null value for the textBox..
Can you please tell me the reason for this.

Thanks a lot,
Anjali

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.