Naming Your Controls
Always make a habit of naming controls. We name our control using its Name property. Naming controls…
Dialogs are windows that have a certain specific function such as saving or opening a file, choosing a color, or printing a document. The .NET framework offers the dialog controls which allows you to call dialogs to do a specific task. The dialogs can be customized using the properties of those controls.
Dialog for Picking Colors
Dialog for Browsing Folders
Dialog for Choosing Font Styles
Dialog for Saving a File
Dialog for Opening a File
Although you can construct your own dialogs, using this predefined dialogs makes your application more standardized as a Windows application as almost all application in Windows uses these dialogs. Note that dialogs’ appearance may look different on other versions of Windows such as Windows XP. The screenshots above are dialogs of Windows 7 operating system.