B
Brian Worth
I have a console app that would like to reject a shutdown/restart request
unless a certain condition exists. I have written programs with forms in
which you can be notified when the form is about to be closed and can set
Cancel=True to prevent it unless data has been saved first and would like to
do the same with several Console applications that have no forms.
Is there perhaps an event handler that could be set up to do this?
Regards,
Brian.
unless a certain condition exists. I have written programs with forms in
which you can be notified when the form is about to be closed and can set
Cancel=True to prevent it unless data has been saved first and would like to
do the same with several Console applications that have no forms.
Is there perhaps an event handler that could be set up to do this?
Regards,
Brian.