Hi, I have form1, and second form2
When I call second form2, form1 is disabled for any interaction.
customer.Show()
Me.Enabled = False
Close button on form2 code is
Private Sub Closebutton_Click(sender As Object, e As EventArgs) Handles Closebutton.Click
Me.Close()
Form1.BringToFront()
Form1.Enabled = True
End Sub
As you can see, I want to enable form1, and to call form1 to front. However, form1 has lost under other opened programs, and I can get it to fron by clicking on TaskBar.