Hum,
VB Code:
Public Sub ShowForm() If Me.InvokeRequired Then Me.Invoke(New HideShowFormDelegate(AddressOf ShowForm)) Else BackgroundWorkerExample.Form2.Close() ' Add this one Me.Show() End If End Sub
Btw, When next time when u add Vb code then put it inside VBCODE tags




Reply With Quote