In Brief

This chapter discussed the MessageBox class and available common dialog classes. Here are the key points to take away:

  • Windows Forms dialogs come in two forms, modal and modeless. When using a modal dialog, the user is not allowed to select the main form, which is appropriate for times when a user must acknowledge the dialog. Modeless dialogs allow the user to interact with both the dialog and the main form.

  • The MessageBox is a versatile information notification mechanism and provides a way to obtain simple input from users. It is fully customizable, allowing changes to text, captions, icons, and buttons.

  • The common dialogs deliver functionality for those operations that are conducted in most applications. They provide a standard interface and make a program easy to use. Available dialogs include those for opening and saving files, selecting fonts and colors, and browsing folders. Common dialogs are also available for page preview, print preview, and printing.



C# Builder KickStart
C# Builder KickStart
ISBN: 672325896
EAN: N/A
Year: 2003
Pages: 165

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net