Dim myForm As MyFormClass If myForm.IsOKToShow Then myForm.Show() End If Class MyFormClass Inherits System.Windows.Forms.Form Public ReadOnly IsOKToShow As Boolean Public Sub New() If (Logic here to determine whether or not to show the form) Then Me.IsOKToShow = True Else Me.IsOKToShow = False End If End Sub End Class