Structured Shutdown - Cancelable events with CAB

A recurring question on the CAB community is how to perform a voting mechanism to close an application. The FormClosing event allow us to decide wether or not we will let the shell form close. However this is not enough because you might want to decide to close or not based on the state of the views or workitems. I came up with a simple solution to this using the EventBroker: Download here

Published: October 07 2006

blog comments powered by Disqus