Refresh an opened form in VB.NET
I have my Form1 and when I click on a button, it opens my Form2. I want to introduce some information on this second form in order to update the first form.
I tried this:
Public class Form2
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
... {some code here}
Form1.Refresh()
Me.Close()
End Sub
End Class
But this isn't refreshing my Form1. I know I can close the first form and open it again, but I don't pretend that.
Is there any other way to do this?