Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

multi form application

Posted on 2011-02-17
1
Medium Priority
?
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
hjgode earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
A short article about problems I had with the new location API and permissions in Marshmallow
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

715 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