Panel vs Form based application?

Hello. I am going to design application for Pocket PC using Compact Framework. I dig in the internet, read articles and I am still wondering :
what is the best gui design solution for mobile devices?
The most important thing (as always) is performance. My application will have many different forms/panels and will be switching between them many times. In desktop version of this application (unfortunately designed in java) we are using panels and state manager which enables and disables panels.
But on Pocket PC we got limited memory space so I am wondering :
1. The once created panel exists in memory until I destroy it (dispose)?
2. Is there any possibility to remove panel from memory or compress it when it is unused (hidden, disabled)? And load it when it will be needed again? How much time application need to load complex panel?
3. Form based application is better solution for this sort of application? (I use only buttons to switch between panels/forms - one form visible each time, using full screen or docking)
4. Is stack a good way to deal with many forms? (found solution here - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfuiframework.asp)

Answer from designers who made mobile applications and know which way is better will be very helpfull and welcome. Thanks in advance. Maciej Wysocki

[1380 byte] By [Wysek] at [2007-12-23]
# 1
I don't believe that noone ever met this problem. This is in my opinion base problem when You are going to create well designed Mobile Application with good performance.
I almost decided for stack solution with some modifications, but I am still waiting for some response from Developers who created applications with many forms, features, etc.
Help me to decide please. Best regards. Maciej Wysocki
Wysek at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 2
In my expereince using panel+stack (or rather user controls+panel+stack) approach works better than multiple forms. Less memory, no unnecessary modal dialogs. main form message loop is active most of the time. Of course once in a while you need a child form, so one needs to be reasonable
AlexFeinman at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 3

I would agree. From a performance point of view, it appears to be much quicker using panels and stacks.

The only penalty you pay, is a slightly longer form load time, due to the number of controls on the form.

Pete

petevick at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 4
So the solution for best performance and less memory usage is create Main Form, many panels with different controls acting like independent form and stack which will be loading, adding to cache and retrive panels from cache? Thanks. You helped me a lot.
Wysek at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 5
Yes. Also consider implementing logical screens as user controls - much more manageable that way
AlexFeinman at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 6

I just started developing my application and must say this thread help me a lot. Just wanted to add one thing. While working on panels it is easier to use same object/variables on the different panels inside the same form (class).

MaciejJedryszek at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...