I have a program which I am using to manage a database. My database table contents are displayed in a listview
on form1. I am using form2
to edit the database.
When form2
is open form1
is still visible.
However, when form2 is closed, after updating the database, I would like form1 to refresh its listview
to show the newly updated information.
I have a method which refreshes the listview
on form1
. How can I execute this from form2
?
I have set the method to public but I still cannot access it from form2
.