G
Guest
What I have is a menustrip and inside the click event is
dim t as new form2
t.show
'We are in form1
me.close
and while it shows form2 I want to close the form where the call is coming
from. In this instance the form1 is where the user is clicking the menu item.
But for some reason I can't get this to work. It seems simple but I can't
figure it out. What happens is when I call me.close on form1 it closes form2.
What I'm trying to accomplish is something like what we are doing in our
existing asp app that we are trying to convert to windows form .net 2005 app.
We have frames and in the top frame we have all our links and when a user
clicks on one it repopulates the main frame only.
Now I know I can't do this in windows but I trying simulate something like
that where they click on a menu item and the new screen pops up and the
previous screen disappears all at once.
ANy help would be appreciated.
dim t as new form2
t.show
'We are in form1
me.close
and while it shows form2 I want to close the form where the call is coming
from. In this instance the form1 is where the user is clicking the menu item.
But for some reason I can't get this to work. It seems simple but I can't
figure it out. What happens is when I call me.close on form1 it closes form2.
What I'm trying to accomplish is something like what we are doing in our
existing asp app that we are trying to convert to windows form .net 2005 app.
We have frames and in the top frame we have all our links and when a user
clicks on one it repopulates the main frame only.
Now I know I can't do this in windows but I trying simulate something like
that where they click on a menu item and the new screen pops up and the
previous screen disappears all at once.
ANy help would be appreciated.