How to disable main form when another was opened

0

Disable the main form when another was opened without closing it to use the second form that was opened but could not click on the main form

    
asked by anonymous 26.04.2018 / 11:59

2 answers

0
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Openlistaclientes.Click
    Form_ShowDialog()

End Sub
    
26.04.2018 / 12:21
-1

Try this out.

NomeDoForm.ShowDialog()
    
26.04.2018 / 12:12