G
Gav
Hi all,
This may not be the best way to do things I'm not sure... however I have
created a class that handles all the database calls, I didn't want to keep
having to create connections to the database or instances of the same class
so I wanted to make an instance of the class in the top level window form
and be able to access it from the child windows. Is this possible to do? if
so how do you access the instance of the class at the top level?
Gav
This may not be the best way to do things I'm not sure... however I have
created a class that handles all the database calls, I didn't want to keep
having to create connections to the database or instances of the same class
so I wanted to make an instance of the class in the top level window form
and be able to access it from the child windows. Is this possible to do? if
so how do you access the instance of the class at the top level?
Gav