I have a form A with a button called btnA and a datagrid.
When I click on this button, another form B opens which has a button btnB. When I click on btnB, I need to close form B and refresh form A. How do I achieve this?
Thanks.
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.
When you create
FormB, pass a reference toFormAand then on butB click, you can close formB and access formA to refresh it.