Solved

multi form application

Posted on 2011-02-17
1
440 Views
Last Modified: 2013-12-27
I have an application with 3 forms. Form 1 has a credit card reader control, form 2 uses gps to obtain present coordinates, form 3 has camera to take pictures. Right now I load form1 with 2 buttons on it to go to form 2 and form 3. Issue is each time a form is closed and another is opened, there is significant delay as one control is destroyed and another is created. Can I do something like load all forms at the same time, and then show/hide forms based on what is selected. Would that affect performance as far as memory and resources are concerned?
0
Comment
Question by:tornadog
1 Comment
 
LVL 16

Accepted Solution

by:
hjgode earned 500 total points
ID: 34923347
Hello

to minimize form load delays you should preload forms. There was a similar question at http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CSharp/Q_26729996.html?cid=1131#a34535698. I provided a code sample there.

"Did you already read the article about multiform framework in CF2?

http://msdn.microsoft.com/en-us/library/aa446546.aspx

and the revised one at http://blog.opennetcf.com/ctacke/2009/11/25/RevisitingTheFormStack.aspx"

These articles show how to cache forms. Hopefully these links will suit your needs.

regards

Josef
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I think the most popular question in our Windows Mobile Programming zone is about the backlight - we all want to keep it on when our application is running. Few years ago the function SystemIdleTimerReset() did this job. On our side we had to detec…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now