Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a form
Message
 
To
30/05/2002 20:58:05
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgia, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00662780
Message ID:
00663253
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform