|
You may want to keep a global variable to hold the form. This always has only one instance of that form type and prevents the user from opening unlimited forms
In the parent form:
private MyForm as frmFormExample
then when you instantiate the form:
if MyForm is nothing orelse MyForm.IsDisposed then
MyForm = new frmFormExample
MyForm.MdiParent = Me
else
MyForm.FormState = Normal
end if
MyForm.Show()
__________________
2006 Lancer Evolution IX MR In-Dash PC Project - WIP
Planning:
[----------] 100%
Purchasing:
[----------] 100%
Installation/Fab/Assembly (Revised):
[----------] 80%
|