I make a program that has a parent form and the user can open any number of MDI children in it .
I was put some code in the closing event of the parent form , but when I try to close it the program execute the code in the closing event of each MDI child without closing them , then execute the code in the closing event of the parent form ,
But I don't want to execute the code in the MDI children when I calling the closing event of the parent ,What can I do?