If you have a PH account, you can customize your PH profile.
*/
*/

WinForm FAQ - Showing a Form as a Modal Dialog

How do I show my form as a modal dialog?

To show your form as the Modal dialog, call the ShowDialog() method of the form to display it on the screen.

C# Version

myForm.ShowDialog();


VB.NET Version

myForm.ShowDialog()


It will display the form as a Modal dialog and would not allow the user to access any other form of the application when it is present on the screen.

Index
corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.
Resource Listings