Try OpenEdge Now
skip to main content
GUI for .NET Primer
Controls in Forms : Control sources : Microsoft .NET Windows Forms UI controls : Common dialog boxes
Common dialog boxes
Microsoft provides several common dialog boxes that you can use to give your application a consistent user interface when performing tasks such as opening and saving files, manipulating the font or text color, or printing files. The OpenFileDialog and SaveFileDialog classes provide the functionality to display a dialog box that lets the user locate and enter the name of a file to open or save. The FontDialog class displays a dialog box to change elements of the Font used by your application. The PageSetupDialog, PrintPreviewDialog, and PrintDialog classes display dialog boxes that enable the user to control aspects of printing documents.