Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a form
Message
 
À
30/05/2002 20:58:05
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00662780
Message ID:
00663253
Vues:
20
You need to dispose the modal form outside of itself. The idea is the calling program has ownership of the form and controls when it is disposed. That way it can reference form when the user closes it to get any results back.

>Cathi,
>Thanks very much. I'll try that when I get back. I had avoided taking that approach because I felt it would slow things down to do an extra query in the calling program.
>Just for my info, how would a modal program close itself if not with the close method? I tried having it call its dispose method instead of the close method and that locked up the app.
>Thanks.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform