3. Dialogs

A DIALOG IS DEFINED BY ITS USE. If a form is the application's main window, it's a window and not a dialog. However, if a form pops up in response to a user request for service, such as a request to open a file, and stops all other user interactions with the application, it's a dialog (specifically, a modal dialog).

However, things get a little murky when we consider modeless dialogs, such as Outlook's Send/Receive Progress dialog. Modeless dialogs don't stop the user from interacting with the rest of the application, but they do provide a means of interaction outside the main window.

The Windows Forms terminology makes things even murkier. Standard dialogs are exposed by the XxxDialog family of components, such as OpenFileDialog. ...

Get Windows Forms 2.0 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.