Hi,
I have a class that I want to instantiate only once in a method on the form, but I want to be able to access the instance of this class from multiple methods on the form. Is this possible? How?
I hope this is not too vague.
Anyway,
Where could I instantiate the class if I want this type of behaviour?
I am trying to figure out how classes, access modifiers work together. It's funny how reading it makes some sense but trying to code something is not so easy.
Help if you can,
Thanks,
Alvin
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only