[英]What's the best way to create a Windows Mobile application with multiple screens in C#
I am creating a Windows Mobile Application in C# and Visual Studio 2008. 我正在使用C#和Visual Studio 2008创建Windows Mobile应用程序。
The application will have 5-6 main 'screens'. 该应用程序将有5-6个主要“屏幕”。 There will also be bar (/area) with information (eg 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 (ie the screens will share the top bar and toolbar) 屏幕上方还会有条形(/区域)信息(例如标题,应用程序是否忙碌等),屏幕下方还有工具栏(或类似控件),有5-6个按钮(带图像)可以更改活动屏幕(即屏幕将共享顶部栏和工具栏)
What is the best way to implement this? 实现这个的最佳方法是什么?
Keeping in mind a) memory usage and b) time to switch screens. 记住a)内存使用情况和b)切换屏幕的时间。
Thanks in advance. 提前致谢。 Any links, pointers etc are much appreciated. 任何链接,指针等都非常感谢。
Use a single Form and fill the center with UserControls. 使用单个表单并使用UserControls填充中心。 You can explicitly Dispose the UCs when appropriate. 您可以在适当的时候明确地处理UC。
Trick, use tabControl and set location to (0, -26) 欺骗,使用tabControl并将位置设置为(0,-26)
int Offset = 26;
tabControl1.Size = new Size(800, 480 + Offset);
tabControl1.Location = new Point(0, - Offset);
this, will hide the tabs 这个,会隐藏标签
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.