Hi,
In my MainForm class I have a method, Refresh(), that simply makes a call to the backend database and refreshes the data on the form.
In my MainForm I instantiate another class object and on this object are some form elements I display on the main form in a container. One of these is a Save button that writes any changes back to the database and I would also like it to also call the Refresh() method of the MainForm class to refresh all of the data.
My problem is I cannot figure out how to make this call, how do I reference the method from the MainForm class from an instantiated class?
Thanks in advance!