Hellrector
Newcomer
The title discripes the problem that I'm having.
I use the folowing code in my main mdi (parent) window
when clicking a button to open a form
The ChildForm has the folowing code
Do I need to set some properties somewhere or some code to tell the program not to shut down completely when closing the child form?
I use the folowing code in my main mdi (parent) window
when clicking a button to open a form
Dim ChildForm As ChildForm = ChildForm.GetInstance()
ChildForm.MdiParent = Me
ChildForm.Show()
The ChildForm has the folowing code
Imports System.ComponentModel
Public Class ChildForm
Public Shared myInstance As ChildForm
If myInstance Is Nothing Then
myInstance = New ChildForm()
End If
Return myInstance
End Function
Do I need to set some properties somewhere or some code to tell the program not to shut down completely when closing the child form?