Can MDI child call back parent variable or any object?
e.g.
- frmParent
-String conn = "abc.mdb";
- frmChild
- String test = "demo";
- frmChildTest
- how can we frmParent.conn ?
- and can we call frmChild.test , too ?
the issue i would like to call parent variable,
It would like to create the database connection in parent ,
so each child only need to call parent connection, and dont need to recreate on each form
e.g.
- frmParent
-String conn = "abc.mdb";
- frmChild
- String test = "demo";
- frmChildTest
- how can we frmParent.conn ?
- and can we call frmChild.test , too ?
the issue i would like to call parent variable,
It would like to create the database connection in parent ,
so each child only need to call parent connection, and dont need to recreate on each form