displays the specified .NET form in the foreground and does not return until the form window is closed.
evaluates expr just before the form is closed and returns the result.
- To use DoNETModal, you first need to load .NET/Link using Needs["NETLink`"].
- The following option can be given:
FormStartPosition Center the position in which the window will be displayed
- Typically, DoNETModal is used to implement a modal dialog box that needs to interact with Mathematica while the dialog box is active, or one that returns a result to Mathematica when it is dismissed.