You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to create a customized Print Preview dialog box in the application.You need to ensure that users can preview their documents before printing.Which two actions should you perform?()
- AAdd a PrintPreviewDialog control to the form.
- BAdd a PrintPreviewControl control to the form.
- CCreate and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
- DCreate and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
- ESet the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.