Compact Framework best practices: Building a GUI

Posted by Ciaran on Stack Overflow See other posts from Stack Overflow or by Ciaran
Published on 2010-04-30T20:41:55Z Indexed on 2010/04/30 20:47 UTC
Read the original article Hit count: 364

I'm maintaining a Windows CE app built with the .NET Framework that has about 45 forms. There are 5 'sections' which lead to the function you want. The application is 100% full screen and it is important that it can't be minimized.

Since there are so many forms, it's difficult to keep track of which form should be displayed after one is closed. For this, I'm setting the form owner property before showing it, and showing the owner when closing it.

I've also been advised that it is best to instantiate all forms when the application loads, and not dispose them to save processing time. I'm not sure about this.

My question is, what is the best way to go about showing, hiding forms where you want any 1 form to be in front, full screen all time?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about compact-framework