Solved

multi form application

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

Suggested Solutions

Title # Comments Views Activity
Phones With Stylus Slot 4 112
For Mobile device management, is Exchange server capable? 5 192
SIM number for APK using Delphi 10 2 775
xamarin - developing iOS app without a mac? 11 1,504
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…
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

751 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