Hi Folks,
Here is an issue im not getting my head around, a simple scenario I have 3 classes 2 are forms and 1 patient class.
FrmClients, FrmDialog Patient class
I create an instance of FrmClients called frmClient and during its operation a user click on a button to open an instance of FrmDialog called frmDialog
so far so good.
FrmClient has a publc method called UpdateDataGrid.
in the instance of frmDialog I want to call frmClient.UpdateDataGrid() but I get the error object not know.
Yet I fI create an instance if Patient called patient1 and it has a public method UpdateData it will allow me to refernce patient1.UpdateData()
What am I missing here and how can I call a ref to an instance publc methods, that i know exist.
kind regards
Here is an issue im not getting my head around, a simple scenario I have 3 classes 2 are forms and 1 patient class.
FrmClients, FrmDialog Patient class
I create an instance of FrmClients called frmClient and during its operation a user click on a button to open an instance of FrmDialog called frmDialog
so far so good.
FrmClient has a publc method called UpdateDataGrid.
in the instance of frmDialog I want to call frmClient.UpdateDataGrid() but I get the error object not know.
Yet I fI create an instance if Patient called patient1 and it has a public method UpdateData it will allow me to refernce patient1.UpdateData()
What am I missing here and how can I call a ref to an instance publc methods, that i know exist.
kind regards