Solved

multi form application

Posted on 2011-02-17
1
444 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

With Windows Embedded Handheld, called Windows Mobile, Microsoft re-designed the user interface. The Start Icon moved down to the bottom, inside the menu bar area.   If you need to hide the Start Icon and/or the SIP (soft input panel, softwar…
If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

20 Experts available now in Live!

Get 1:1 Help Now