G
Guest
I have a form that is created if it is not already created.
The code goes something like this:
if (MyForm == null)
MyForm = new MyForm();
else
MyForm.Activate
The problem is that if the form has been closed with the control box, the
form will not be null, but it will not activate either. So what is the
proper way to check for the form to see if it exists and is activatable?
The code goes something like this:
if (MyForm == null)
MyForm = new MyForm();
else
MyForm.Activate
The problem is that if the form has been closed with the control box, the
form will not be null, but it will not activate either. So what is the
proper way to check for the form to see if it exists and is activatable?