Reputation: 85
I'm trying to make it so that the login form pops up and the window behind that cannot be accessed until the login form is closed.
How would I do this?
Upvotes: 0
Views: 177
Reputation: 71
Use a modal form. So use form.ShowDialog() instead of form.Show()
form.ShowDialog()
form.Show()
Upvotes: 2