Why is a C#/.NET message box not modal?
Accidentally, if the message box goes behind our main UI, then the main UI doesn’t respond, until we click OK (on our message box).
Is there a workaround other than creating a custom message box?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to assign the MessageBox owner property to the main UI window (look at the 3rd constructor).