Link to home
Start Free TrialLog in
Avatar of DanielBorson
DanielBorsonFlag for United States of America

asked on

How to make a windows application modal?

I have a single-form .NET Windows application written in C# (.NET 3.5) that is opened by another application. I need this .NET application form to be modal, that is, that the application cannot be closed until the form's "submit" button or the "cancel" button is clicked. Ideally, it would be nice if the application would be modal only for the calling application, but I'll settle for it just being globally modal. I'm thinking that this should be simple, but I couldn't find an answer online.

Thanks in advance for your help.
Avatar of philipjonathan
Flag of New Zealand image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial