What's the best way to handle MULTI-FORM application in VB.NET?

This would be a newbie's question.

The Problem:
Need to create multi-form application for the WM5 device using .NET CF 2. For example, Form A has a button that on-clicked will open FORM B, which in turn may have button to open FORM C.

I noticed we can do this:
dim theForm as new FormA()
theForm.Show()

But the problem, I found this method to make multi-form application quite slow as it seems to take a pause while trying to load the new FORM.  I also read from somewhere can use "Panel" and show-hide panel.

So my questions is really what's the BEST (as in most responsive and efficient way) to show a new selection form to the user?

2 Parts to this Question:
1. is "dim theForm as NEW FormA()" the same as "dim theForm as FormA()" without the NEW, will it cause any problem problem (they both seems to work) like speed difference?
2. pls suggest the best way to do multi-form application (with some sample codes pls).

Many Thanks experts!
les51Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CodeCruiserCommented:
The New keyword is used to create a new object of a class. Without New, this merely creates a variable but no object. This would result in Object Reference Null Exception if you try to access any properties of this form. So New must be present.
Whether to use forms or panels is dependent on what would be present on the new forms. For example, if you need to display 20 input controls then probably form is a good choice but if its only a couple of controls then you can use panels as well.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
les51Author Commented:
thanks alot!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.