L
lord.zoltar
How can I prevent the big close button in the top of the window from
closing the window?
I want to have and "are you sure?" confirmation so the user must press
"Yes" before the program ends. Right now, I've tried catching the
FormClosing and FormClosed events. The message box appears at the right
time, but since the form is already closing, it doesn't matter if the
user presses "Yes" or "No". how do I cancel the FormClosing?
closing the window?
I want to have and "are you sure?" confirmation so the user must press
"Yes" before the program ends. Right now, I've tried catching the
FormClosing and FormClosed events. The message box appears at the right
time, but since the form is already closing, it doesn't matter if the
user presses "Yes" or "No". how do I cancel the FormClosing?