Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Form Closing and then Enable
Message
 
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01455436
Message ID:
01455532
Views:
39
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform