The trouble is:: I have a MDI parent form and a child form for Suppplier details. Ok. Now when i first open the supplier form it opens normally and when I try yo open it again at that time it says that the form is already open.
For this i have used a boolean variable whose value is get to true once the form is opened. and that boolean variable is declared in Mdi Parent form. So now i want that when i close the Supplier form the boolean variable value should again be false.
But when I close the supplier form and try to open it again at that time also I get the message that your form is already opened. i.e.the value of the boolean variable is true only.
I want to get rid of this problem
Thank you in advance.
|