Problem:
In .NET WinForms how to show a form as a Modal Dialog Box?
Resolution:
Showing a form as a Modal Dialog Box by using the "ShowDialog" method. This will display the form as a Dialog Box and return a value that allows to determine if OK orCANCEL was pressed.
For example:
set ls-result to ls-Form4::"ShowDialog"(self)
The ShowDialog method takes the parent window as a parameter.



