Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form close with unsaved changes dialogue
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00987241
Message ID:
00989931
Vues:
49
Stephen,

>So how do I squash it in this odd case? Or do I have to do it for all forms?

You can override the form's AskSaveChanges() methods and it will never prompt the user:
public override DialogResult AskSaveChanges()
{
	return DialogResult.No;
}
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform