views:

221

answers:

0

Hi u all,

I need a function to Hide a form in cross -thread operation. I write this code but it close the form and not only hide it:

 Dim objHideMyForm As delegateUpdateApps = AddressOf HideFree

 Private Sub HideFree()
   Try
     Me.Hide()
   Catch
   End Try
 End Sub

Public Sub HideMe()
   Me.Invoke(objHideMyForm)
End Sub

Can anybody halp me, psl??

Thnks