bjaeger
bjaeger

Reputation: 85

How do you make the TopMost form the only clickable form until its closed?

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

Answers (1)

sadleb
sadleb

Reputation: 71

Use a modal form. So use form.ShowDialog() instead of form.Show()

Upvotes: 2

Related Questions