hi all. I wanted to design a simple student registration system. in my design, i have 2 forms. Form1 consist of a ListView control displaying all the student information. Also, inside Form1 there is a button to Add new student. When a user presses the Add button, a new form will pops up which is the Form2. Inside form2 there are a lots of text boxes for users to input data. I would like to know how in Form1 that I could retrieve the data entered by the user in Form2. Thanks
Thanks for the code sample! I was entering
"Form Form2 = new Form2();" not
"Form2 Form2 = new Form2();"
I couldn't figure out why none of my Form2 methods or variables were showing up! It wasn't an access level problem, it was that I was instantiating a generic Form and not my specific Form2!
Just when I think I understand this stuff I make another newbie mistake that takes hours to figure out.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.