Multiple forms and navigation

  • Thread starter Thread starter Nancy Kafer
  • Start date Start date
N

Nancy Kafer

I have a smart device application written with VB .NET 2003. The application
consists of a main menu, and 5 forms that correspond to various calculators
and a result page. Each form inherits from a base form which contains a menu
bar that contains menu items for each calculator, as well as a button that
returns to the main menu. The results page has two buttons, one for
returning to the calling calculator and one for the main menu. Because the
results page has the ability to go to the calling calculator I don't want to
close the calculator page when I open the results page. However, when the
user selects a different calculator or the main menu I want to make sure
that the calling calculator page and result page have been closed before
continuing to load the new calculator.

Just for a test I ran a test calculation and from the results page I tried
to open the main menu. When I was returned to the main menu I checked the
running memory to make sure that non-necessary pages are closed and noticed
that the original calling calculator page was still open.

I've tried to find sample code dealing with multiple forms but have been
unsuccessful thus far. I'm wondering what how I should be navigating between
the pages so that I am releasing resources appropriately?

Thanks for any help.

Nancy
 
Nancy said:
I have a smart device application written with VB .NET 2003. The application
consists of a main menu, and 5 forms that correspond to various calculators
and a result page. Each form inherits from a base form which contains a menu
bar that contains menu items for each calculator, as well as a button that
returns to the main menu. The results page has two buttons, one for
returning to the calling calculator and one for the main menu. Because the
results page has the ability to go to the calling calculator I don't want to
close the calculator page when I open the results page. However, when the
user selects a different calculator or the main menu I want to make sure
that the calling calculator page and result page have been closed before
continuing to load the new calculator.

Just for a test I ran a test calculation and from the results page I tried
to open the main menu. When I was returned to the main menu I checked the
running memory to make sure that non-necessary pages are closed and noticed
that the original calling calculator page was still open.

I've tried to find sample code dealing with multiple forms but have been
unsuccessful thus far. I'm wondering what how I should be navigating between
the pages so that I am releasing resources appropriately?

Thanks for any help.

Nancy

Hallo,

try this one

http://www.microsoft.com/downloads/...C8-18C5-4FBA-A25E-D44286D6F2A3&displaylang=en

and look here

http://www.opennetcf.org/forums/forum.asp?FORUM_ID=31

for some suggestions about this.


elli
 
Back
Top