I am creating a Windows Mobile Application in C# and Visual Studio 2008.
The application will have 5-6 main 'screens'. There will also be bar (/area) with information (e.g. a title, whether the app is busy, etc) above the screens, and a toolbar (or similar control) below the screens with 5-6 buttons (with images) to change the active screen (i.e. the screens will share the top bar and toolbar)
What is the best way to implement this?
- Use multiple forms, and just include the toolbar and top-bar in each
- Use a single form and something like the Tab control (but customised) to contain the screens
- Something else?
Keeping in mind a) memory usage and b) time to switch screens.
Tha开发者_运维技巧nks in advance. Any links, pointers etc are much appreciated.
Use a single Form and fill the center with UserControls. You can explicitly Dispose the UCs when appropriate.
Trick, use tabControl and set location to (0, -26)
int Offset = 26;
tabControl1.Size = new Size(800, 480 + Offset);
tabControl1.Location = new Point(0, - Offset);
this, will hide the tabs
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论