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
Post a Comment