Q:

C# Windows Form - Window Always Focused

I have a form from which I can open another form. I would like to prevent the user from switching to other forms when form 2 is opened. Thus, the user can only switch to other forms when this windows is closed.
Any help to do so?

A:

Use ShowDialog method which open a new form in Modal state
Form2 frmNew = new Form2();
frmNew.ShowDialog()

