Shared Data

  • Thread starter Thread starter Andrew Robinson
  • Start date Start date
A

Andrew Robinson

I am working on a forms based application that will have 3 or 4 different
forms. I need to share a data set between them that can be updated by each
or the forms. What is the best way to do this? How can I instantiate a class
that is available to each of these forms?

thanks,

-Andrew
 
* "Andrew Robinson said:
I am working on a forms based application that will have 3 or 4 different
forms. I need to share a data set between them that can be updated by each
or the forms. What is the best way to do this? How can I instantiate a class
that is available to each of these forms?

Pass a reference to the forms (for example in a property) when
after instantiating and before showing it.
 

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