Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading another form
Message
 
À
19/03/2003 03:45:30
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00766929
Message ID:
00767532
Vues:
20
It should work. I am not familiar with VB.NET syntax but don't you need to say Me.Hide() or Me.Parent.Hide() to hide the form???

>Jayesh
>
>Like this?
>
>
objForm = New FormName()
>objForm.Show()
>Hide()
>
>Kev
>
>>The other option is to hide the first form when second form is called. Once the second form is closed, the control will return back to the first form and then you can release both of them. Storing form reference to a public property would work too.
>>
>>>Hi
>>>
>>>I have an app with 2 Forms and an Application object, after the user clicks on OK in the first form, I want it to load up the second form and close itself.
>>>
>>>What's the standard practice on doing that, do I have to create the second form as a Public object and then release the first form?
>>>
>>>Any advice?
>>>
>>>Thanks
>>>Kev
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform