where should I put? In the form #1 ? If so, the problem is, I have serveral Main form which can enter in the form #1. So, YourForm should be which main form name ?
Example : Main form #1 , #2 and # 3 can open form #1. So, if I open the form # 1 with the Main form #3, when I close the form #1...