SprintFlunky
Programmer
Simple question but I must not be doing something right.
In Form1:
Dim F2 as new Form2
f2.MdiParent = Me
f2.Show
In Form2:
Me.Close()
If I then loop through the MdiChilden of Form1, f2 is still referenced and if I do a .Show() it will show back up.
How do I destroy f2 in the Form1 class?
In Form1:
Dim F2 as new Form2
f2.MdiParent = Me
f2.Show
In Form2:
Me.Close()
If I then loop through the MdiChilden of Form1, f2 is still referenced and if I do a .Show() it will show back up.
How do I destroy f2 in the Form1 class?