I am trying to reference a public method in an MDI child form instance FROM another MDI child form.
What I am attempting to do is the following:
Main application is an MDI window. the MDI window opens a new form (form1) as an MDI child. In form1 I have a recordset of companies. The user can then select an option to update/add/delete a record to the database of companies. This opens form2 as another MDI child of the main window.
When form2 is closed, I want to invoke an update method in form1 which will reload the dataset from the server. there are multiple copies of form1 that can be open, so I want to be able to invoke the method in each instance.
Can anyone tell me how I can reference a non-static method in an instance of form1 from form2?
Thanks...
Start Free Trial