I have two forms. The 1st form displays data read from an xml file; from the 1st form users can open the 2nd form and edit the data within the xml file .. when the user closes the 2nd form the data that has been edited is not reflected on the 1st form .. how can I refresh the controls (two text-boxes) on the 1st form when closing the 2nd form ?
Wulfgar[Pro]
Sam HobbsPosted Aug 4, 2010, 11:57 AM
You should get a good book to learn from. There are many. This question is easily answered if you are familiar with the basics of classes.
You can create a member of the second form and in the second form you put the value into the member then in the first form after showing the second form take the value from the second form.
Ankur GuptaPosted Aug 4, 2010, 3:17 AM
and after close that dialog you can write code to refresh textbox.