Assume I have two Forms Form1.cs and Form2.cs.
When a button but1-switch is clicked on Form1.ca the second Form2.cs should be called
and displayed.
How do I call the second Form2.cs in modal style ?
How would the same call look like if I call the second Form in non-modal style ?
Ken
Peter Duniho - 22 May 2007 21:54 GMT
> [...]
> How do I call the second Form2.cs in modal style ?
>
> How would the same call look like if I call the second Form in non-modal
> style ?
For any form, the ShowDialog() method displays the form modally, while the
Show() method displays it modelessly.
Pete