UCM
Well-known member
I have 2 forms, form1 and form2...Not like above, these have textboxes on them, both have a textbox1 and I manually created each form in vs...
I see where using the code:
can create a new instance of the form2 object...
However, what I would like to acheive is form1 and form2 both existing in memory and when you click on a button in either one, then it will hide and the other will show...
The trick is that if I do not have to create a New instance of it then the data in both text boxes would be preserved as you switch back and forth between the two forms...
Any ideas on how to acomplish this?
I see where using the code:
Code:
Dim Boo AS New form2
However, what I would like to acheive is form1 and form2 both existing in memory and when you click on a button in either one, then it will hide and the other will show...
The trick is that if I do not have to create a New instance of it then the data in both text boxes would be preserved as you switch back and forth between the two forms...
Any ideas on how to acomplish this?