Adding New Forms

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 13
Reputation: kanjali is an unknown quantity at this point 
Solved Threads: 0
kanjali kanjali is offline Offline
Newbie Poster

Adding New Forms

 
0
  #1
May 22nd, 2008
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 ~
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 436
Reputation: JerryShaw is on a distinguished road 
Solved Threads: 72
JerryShaw JerryShaw is offline Offline
Posting Pro in Training

Re: Adding New Forms

 
0
  #2
May 22nd, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 13
Reputation: kanjali is an unknown quantity at this point 
Solved Threads: 0
kanjali kanjali is offline Offline
Newbie Poster

Re: Adding New Forms

 
0
  #3
May 22nd, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC