[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Multiple-Form Application Running on .Net Compact Framework (Form Switching Problem)

Posted on 2004-09-22
4
Medium Priority
?
2,919 Views
Last Modified: 2010-08-05
I am having problems with a multiple form application written in C# for running on .Net Compact Framework.   I am using the Form Show() and Hide() methods for switch among different forms.  The switch works but the new form is always minimized.  I tried it within the WinCE emulator and also on mobile devices.  Anybody has some ideas?  

I also tried to adapt my application to run on  .Net Framework, i.e., to be a regular window application.  The form switching work fine.

Thank you for your help.

0
Comment
Question by:Dennis98
  • 3
4 Comments
 
LVL 10

Accepted Solution

by:
eternal_21 earned 1000 total points
ID: 12128939
I was able to demonstrate your problem.  By reversing my Show and Hide calls, the problem was fixed.  What I mean by this is instead of hiding your first form and the showing your second form, Show the second form and THEN hide the first form.  I am very curious to see if this works for you.

- eternal
0
 
LVL 10

Expert Comment

by:eternal_21
ID: 12136443
How did that work for you, Dennis98?
0
 

Author Comment

by:Dennis98
ID: 12137362
eternal_21, that works.  Thanks.  I did not expect the fix to be so simple because I did not have the problem when running the app as a regular window application (in the order of hiding the 1st form then showing the 2nd form).  Any idea why the problem?
0
 
LVL 10

Expert Comment

by:eternal_21
ID: 12137565
No, I have never used the compact framework before.  I don't understand why we experienced what we did, but I will investigate it and post back here :).
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 7 hours left to enroll

834 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