M
Mr.Tickle
I dont like the concept of cancellable events, why cant we have an event
that we can catch before the event we must cancel?
Take the following example
WM_SYSCOMMAND and SC_CLOSE for the system menu close item or close button,
in WinForms you must cancel the Closing event, isnt that too late? Sure it
works but it seems messy compared to actually catching an event that the
item is selected.
Are these a good idea or just lazy or unthought out designing?
that we can catch before the event we must cancel?
Take the following example
WM_SYSCOMMAND and SC_CLOSE for the system menu close item or close button,
in WinForms you must cancel the Closing event, isnt that too late? Sure it
works but it seems messy compared to actually catching an event that the
item is selected.
Are these a good idea or just lazy or unthought out designing?