Summary


In this chapter, you have seen how to use the dialog classes in applications. You looked at how to open and save files, and after reviewing the .NET Framework printing classes, this chapter showed you how to add printing capabilities to your applications. To summarize, in the Simple Editor application you used the following dialog classes:

  • FileOpenDialog to ask the user for a file to open

  • FileSaveDialog to ask for a filename to save the data

  • PrintDialog to get the printer to print to and the printing configurations

  • PageSetupDialog to modify the margins of the page where we do the print

  • PrintPreviewDialog to view a preview of the print so that the user knows in advance how the print will look like

  • FolderBrowserDialog to select and create directories

In the chapter, you've also seen the basics of the FontDialog and ColorDialog classes. In the exercises, you can extend the Simple Editor application to use these dialogs as well.

the next chapter shows how Windows applications such as the Simple Editor can be deployed on target systems using ClickOnce and the Windows installer.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

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