Windows Forms and Hash Tables

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

Is it possible to create a public Hash Table in Windows Forms?

I.e., I place the Hash Table construction in the constructor of the
form. But I would like to be able to reference it later in another
class (i.e., not reconstruct it everytime).

I have tried using the public keyword and this has had no affect.

Any ideas? Do I need to create a separate class and within there
declare it as public and then instantiate it within the windows form as
an object?

Greg.
 
myForm m = (myForm) this.Parent;

I now have access to myForms public methods and properties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top