How could I know the form is really closed? User may select "cancel" in ask for save dialog.
Thank you
I have set the "AutoAskSaveChanges" property to true. It works when I close the form interactively. How could to have the same "behavor" if I want to close the form programmatically? Currently, I tried to form.Dispose(), the form just released without and prompt.
Please advice
Any built in method that I can call to close a form which will ask for save if datatable is dirty?