navigate between forms
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
what i need is to call a form2 from a form1, and i need to close the form1
before the form2 is open, right now i'm doing this:
me.close()
dim objForm2 as new frmForm2
objForm2.showdialog()
but it doen't work, it shows the form2 and don't closes the form1 until the
form2 is closed.
.
Relevant Pages
- Re: navigate between forms
... "Ken Halter" wrote: ... dim objForm2 as new frmForm2 ... it shows the form2 and don't closes the form1 until ... (microsoft.public.vb.general.discussion) - Re: navigate between forms
... dim objForm2 as new frmForm2 ... it shows the form2 and don't closes the form1 until ... server that start with "microsoft.public.vb" are for pre-dotNet versions of ... (microsoft.public.vb.general.discussion) - Re: Navigate between forms
... dim objForm2 as new frmForm2 ... it shows the form2 and don't closes the form1 until ... That's design behavior of a modal form. ... (microsoft.public.dotnet.languages.vb) - Navigate between forms
... what i need is to call a form2 from a form1, and i need to close the form1 ... dim objForm2 as new frmForm2 ... (microsoft.public.dotnet.languages.vb) - Re: How to pass information, classes between forms in Windows Application mode
... purposes it's the same as the parameterized copy constructor, ... Another way is the inheritance of forms, Form2: ... Form1 as you discuss below and as I further comment below. ... Form2 from Form1 is not passing the true object but a copy of the ... (microsoft.public.dotnet.languages.csharp) |
|