I think that most of the cases you think are using the same form are
actually just loading new forms (and removing old forms) in the same
location on the screen.
However should you really want to reuse the same form you could just have
multiple objects on the form and change the visible properties of objects
depending on what you want to see at any given time. You could also reuse
objects by changing their text property value and setting some sort of state
variable to control what happens with events on that object.
Alfred
"Michael Hammac" <anonymous (AT) discussions (DOT) microsoft.com> wrote
Quote:
Hi,
I am fairly new to VB.net. I have a form through which I would like to
load the next form, like when the user clicks the next button. On the first
|
form the user selects an option depending on which the controls for the next
form are loaded. The problem is that I dont want to open the new form in a
separate window nor the mdiparent way either (i.e. like a child window
within the parent). (I am trying to make interface/program flow much like an
installation wizard where the user clicks next and further options open up
within the same window).
Quote:
Thanks for the help in advance.
Michael |