items in checked list box - visual studio

RBECKMN
RBECKMN used Ask the Experts™
on
i have an application with several forms that use the same list of items in a checked list box.  over time, the list of items will evolve, so rather than continually update the ITEMS collection in each form separately, I'd like to use an easier method.  the list of items is also stored in a SQL database, and can be configured by application users.

a resource file is one option, as is retrieving the list from the database, but that means rebuilding the ITEMS collection every time one of the forms is loaded which happens often.  another option is to load the forms once, keep them loaded, and show and hide them rather than reload them.

Any other ideas welcome.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014

Commented:
Another option is to load a DataTable (declared in a module) once and then use it as the data source of the list during the life time of the app.

Author

Commented:
thanks for the suggestion - that would work, but i'm trying to avoid having to rebuild the list dynamically every time the form is loaded.  i wouldn't mind loading the list once and updating the forms once at the start of each run, but i don't know how to make that a permanent (or semi-permanent) part of the forms.
Most Valuable Expert 2012
Top Expert 2014

Commented:
Keeping forms in memory would take much more resources than building the list. How many items are in the list?

Author

Commented:
25 right now.  it won't grow to more than 60, and is likely to stay under 50.
Most Valuable Expert 2012
Top Expert 2014
Commented:
Dont even think you dont want to waste resources on recreating this list :-)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial