Hi,
In addition to Herfeid's comments. You could try something like
this.
Public Class Form2
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Private Shared instance As Form2
Public Shared ReadOnly Property DefInstance() As Form2
Get
If instance Is Nothing Then instance = New Form2
Return instance
End Get
End Property
End Class
To use
Dim frm As Form2 = Form2.DefInstance
frm.ShowDialog()
Ken
------------------
I have a winform that runs on its own, is it possible to wrap a stand-alone
winform in a class?
More accurately, is it possible to use a class to call an already
established winform?