N
Nancy Kafer
I have two VB .NET 2003 forms, one is a calculator and the other is a
results page. When the user presses calculate the results page displays
correctly. The results page has a "Previous page" button that allows the
user to return to the calculator page so they can change values. When I run
my application and press "Previous Page" the results page disappears and the
calculator page doesn't display. I can see my calculator page listed in the
running programs list but the form doesn't display.
I have a subroutine in my results page that responds to the "Click" event
for the "Previous Page" button. Here is the code in that subroutine:
Me.btnPrevPage.DialogResult = DialogResult.OK
Here is the code that calls my results page:
Me.Hide()
frmResultsPage.ShowDialog()
frmResultsPage = Nothing
Me.Show()
What am I doing wrong?
Thanks for any help.
Nancy
results page. When the user presses calculate the results page displays
correctly. The results page has a "Previous page" button that allows the
user to return to the calculator page so they can change values. When I run
my application and press "Previous Page" the results page disappears and the
calculator page doesn't display. I can see my calculator page listed in the
running programs list but the form doesn't display.
I have a subroutine in my results page that responds to the "Click" event
for the "Previous Page" button. Here is the code in that subroutine:
Me.btnPrevPage.DialogResult = DialogResult.OK
Here is the code that calls my results page:
Me.Hide()
frmResultsPage.ShowDialog()
frmResultsPage = Nothing
Me.Show()
What am I doing wrong?
Thanks for any help.
Nancy