Any built in method that I can call to close a form which will ask for save if datatable is dirty?
Thank you
What I am doing is to interate all forms, close them and launch connection dialog. Therefore, i couldn't handle formclosing event.
For Each loForm In MyFormsCollection AddHandler loForm.FormClosing, Addressof YourFormClosingMethodNext
You could then place your code in the "YourFormClosingMethod" to check on whatever you needed.