Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Form Closing and then Enable
Message
 
 
À
18/03/2010 15:10:27
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01455436
Message ID:
01455532
Vues:
40
>>>I consider it disconcerting to the user to monkey with fundamental Windows controls. We shouldn't be playing Three Card Monte with them.
>>
>>I guess we totally disagree here.
>
>I'm with Mike on this one. Your form must have an existing way of being closed. Why not handle the OnFormClosing event in the same way? The args will tell you what triggered the closure and you can still cancel it if you want. IMO that's much more in keeping with the normal user experience.....

Agree and it was Bonnie's suggestion in the referenced thread.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform