Hi there people,
I am a newbie in VB.net attempting to create a mobile application but am having difficulties trying refresh a page with values.
Case scenario:
2 forms A & B.
In within form A - there is a NEXT button. When a user clicks on it, it will bring the user to Form B.
Vice versa, on form B as well there is a BACK button to bring the user back to Form A. What I am trying to achieve here is that, when user clicks NEXT button (Form A) it brings user to Form B and executes whatever code you have in Form B but if the user clicks on back button to Form A; the code would not execute the 2nd time the user click on the NEXT button.
My code is rather or should i say very simple.
CODE in Form A:
frmB.show()
me.hide()
CODE in Form B:
frmA.show()
me.hide()
But I don't think the showing and hiding is doing the job. Is there a line of code to help me to perform the calculations again in Form B everytime I click on the NEXT button in Form A?
Please advice.
Thanks in advance.
I am a newbie in VB.net attempting to create a mobile application but am having difficulties trying refresh a page with values.
Case scenario:
2 forms A & B.
In within form A - there is a NEXT button. When a user clicks on it, it will bring the user to Form B.
Vice versa, on form B as well there is a BACK button to bring the user back to Form A. What I am trying to achieve here is that, when user clicks NEXT button (Form A) it brings user to Form B and executes whatever code you have in Form B but if the user clicks on back button to Form A; the code would not execute the 2nd time the user click on the NEXT button.
My code is rather or should i say very simple.
CODE in Form A:
frmB.show()
me.hide()
CODE in Form B:
frmA.show()
me.hide()
But I don't think the showing and hiding is doing the job. Is there a line of code to help me to perform the calculations again in Form B everytime I click on the NEXT button in Form A?
Please advice.
Thanks in advance.