I have a small issue that I am unable to figure out. I have a form in my application called FORM1. On button click SEARCH - i show user data in a DATAGRIDVIEW. So now that I have data - user has the option to add a new client, so they click a button and I have a new form that pops up. I do not close FORM1 - i leave it as it and create a new child like this....
Dim NewMDIChild As New frmNewClient()
NewMDIChild.MdiParent = MDIContainer
NewMDIChild.Show()
MDIContainer.Show()
Now user will be able to enter data and save it on the frmNEWCLIENT. Once they are done, they click a button called DONE which brings them back to FORM1. And here I want the grid to be refreshed so that it includes the new client as well. But I don't know how!
I tried doing it in Activate Event of the form - But in that case - the grid gets loaded when I initially open the FORM1 - which I don't want. I want the grid to be empty when users opens the FORM. I only want to reload it when users close FRMNEWCLIENT.
I hope I'm clear. Thanks!