winforms - C#: Get a list of customers and share it on TWO Views -


i have list of customers shown @ top menu every customername menuitem. want have same (same = not want reload data database ) customers in menu.

both menus in 2 different usercontrols. in every usercontrol can stuff on customer-menu. how design both menu`s/usercontrols/presenter customerlist 1 time database?

i using winforms mvp pattern.

you can load customerlist in static list , share list it's sort of caching mechanism.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -