Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't close a form
Message
 
À
04/10/2007 09:15:38
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01258512
Message ID:
01258801
Vues:
10
Jeff,

>I have a form that attempts to terminate itself with Close(). It won't close. In tracing the code, I found that when mmBaseForm_Closing() is called, it is called with the CancelEventArgs set to True. It appears I'm doing something that made MM decide that I shouldn't really be allowed to close the form. I have no problems closing other forms.

If you open up MM .NET Windows Forms project and do a search for "Cancel =" you will see a few places where MM .NET cancels the form closing. Usually it's if CancelFormClose is set to true.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform