Which two actions should you perform?

You are creating a Windows Forms application by using the .NET Framework 3.5.
The application is used to print employee records. 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? (Each correct answer presents part of the solution. Choose two.)

You are creating a Windows Forms application by using the .NET Framework 3.5.
The application is used to print employee records. 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? (Each correct answer presents part of the solution. Choose two.)

A.
Add a PrintPreviewDialog control to the form

B.
Add a PrintPreviewControl control to the form.

C.
Create and initialize a PrintDocument object on the form, and then implement the PrintPage event handler.

D.
Create and initialize a PrintDocument object on the form, and then implement the BeginPrint event handler.

E.
Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.



Leave a Reply 0

Your email address will not be published. Required fields are marked *