Best way to handle different panels occupying same area
Posted
by
gmnnn
on Stack Overflow
See other posts from Stack Overflow
or by gmnnn
Published on 2012-12-07T15:59:51Z
Indexed on
2012/12/07
17:06 UTC
Read the original article
Hit count: 124
I have this application:
I want to change the marked area when the user is clicked one of the navBarItems (like Microsoft OUTLOOK). I've been doing some research and a lot of people said that I can add several panels and show/hide them when user is clicked a navBarItem. But the area will contain a lot of gridviews and a lot of other controls. I don't know if I want to initialize all of them when application starts because it's gonna be hard on the cpu and memory to keep all the controls running at the same time. And I don't think it's an elegant solution for this kind of situation. But if I choose to initialize controls when user is clicked to corresponding navBarItem, it's gonna be laggy for the user.
What is the best design approach for this situation?
PS: I can use commercial libraries too.
Thank you.
© Stack Overflow or respective owner