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:
00989955
Vues:
58
>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;
>}
>

Perfect. Thanks.

__Stephen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform