Private _blnIsInitializing As Boolean = False
Public Property IsInitializing As Boolean
Get
Return _blnIsInitializing
End Get
Set
_blnIsInitializing = Value
End Set
End Property
Where the form calls InitializeComponent, put the sets for this property around it.
Me.IsInitializing = True
InitializeComponent()
Me.IsInitializing = False
-
Peter