Declan Basile
asked on
Refering to an instance of a class from a form
In VB.net, there is a method of a class that opens a form in "showdialogue". How can I reference in the code of the form (for example, the form_Load event procedure) the instance of the class that opened the form and that class object's properties?
you will to pass a reference of your class to your form (to the constructor normally)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Mike. I needed all the code to show me how to pass a reference to a constructor. It worked great!