refresh my data didn't work
Posted: Mon Aug 06, 2012 10:18 am
Hello,
i got stuck and i don't know what to do else.
seems with a user control my data didn't refresh after closing
Second problem that a user control don't allow me.close
'ERROR
'close' is not a member
i got stuck and i don't know what to do else.
seems with a user control my data didn't refresh after closing
Code: Select all
'Frm2
If Frm1.IsDisposed Then Frm1 = New Frm1
If Not Frm1.IsDisposed Then Frm1.BringToFront()
If Frm1.ShowDialog(Me) = DialogResult.OK Then
Frm2.Restore()
End If
Code: Select all
Frm1
Public Sub Restore
'here i go back to the sub to reload the data
End Sub
Code: Select all
but after the BtnClose it does nothing it don't refresh the data :( Private Sub BtnClose_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnClose.Click
Me.DialogResult = DialogResult.OK
Me.Close()
End Sub
Second problem that a user control don't allow me.close
'ERROR
'close' is not a member