10.3. Common dialog boxes

The System.Windows.Forms namespace contains controls that implement common dialog boxes, which are built-in dialog boxes used to select colors, fonts, open and save files, as well as perform printing, print preview, and printer setup. The following is a list of controls that represent standard dialog boxes.

  • ColorDialog Used to select color from a palette or add customized colors to this palette.

  • FontDialog Used to select fonts from ones currently installed on the system.

  • OpenFileDialog Used to open files.

  • SaveFileDialog Used to save files.

  • PrintDialog Used to select a printer, pages to print, and other printer-related settings.

  • PageSetupDialog Used to set page details for printing.

  • PrintPreviewDialog Used to preview ...

Get A Programmer's Guide to .NET 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.