R
Ronald S. Cook
We have a Windows app that has one main form (a shell, sort of). We then
load user controls into a panel on the form depending on what the user has
selected.
Our current code to unload the existing user control and load the newly
selected one is pretty bulky. Every time we add a new user control to the
project, we have to add some code in the section where we are
loading/unloading.
Is there a more dynamic, more efficient way to manage user controls loading
in a form?
Any help would be appreciated.
Thanks,
Ron
load user controls into a panel on the form depending on what the user has
selected.
Our current code to unload the existing user control and load the newly
selected one is pretty bulky. Every time we add a new user control to the
project, we have to add some code in the section where we are
loading/unloading.
Is there a more dynamic, more efficient way to manage user controls loading
in a form?
Any help would be appreciated.
Thanks,
Ron