开发者

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.

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?

  1. Use multiple forms, and just include the toolbar and top-bar in each
  2. Use a single form and something like the Tab control (but customised) to contain the screens
  3. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜