Solved

multi form application

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

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

This article shows how to setup the internet connectivity on Windows Mobile Emulator.   I assume that you already have Microsoft Visual Studio, Microsoft Windows Mobile SDK's and the emulator installed. The emulator is available with Visual Studi…
Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

626 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