Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OnClose not firing
Message
 
À
02/01/2004 12:21:28
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00863478
Message ID:
00863483
Vues:
8
>How are you closing your forms? Me.Close() should fire the correct events. Perhaps you should post some code. <

My problem is not on closing the form. My problem is *detecting* when the form is being closed.

If I do me.close() or click on the "X" the OnClose method is called and I can detect that the form is being closed. So far so good.

However, if what I close is the main form of the application and the application starts closing its (child/sub) forms then the OnClose method of the (child/sub) forms is not being fired.

What I am looking for is a method that .NET always call before closing a form (or during the close process.)
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform