Which three action should you perform?

You are creating a Windows Forms application. Users need to preview print jobs before printing from the application. You added a PrintDocument component and PrintPreviewDialog component to the form. You need to configure the application to allow users to preview print jobs. You want to achieve this goal by using the minimum amount of effort. Which three action should you perform? (Each correct answer presents part of the solution. Choose three.)

You are creating a Windows Forms application. Users need to preview print jobs before printing from the application. You added a PrintDocument component and PrintPreviewDialog component to the form. You need to configure the application to allow users to preview print jobs. You want to achieve this goal by using the minimum amount of effort. Which three action should you perform? (Each correct answer presents part of the solution. Choose three.)

A.
Set the PrintPreviewDialog.Document property
to the PrintDocument component instance.

B.
Add a PrintDialog component to the form.

C.
Set the PrintDialog.Document property to the PrintDocument component instance.

D.
Create an event handler for the PrintDocument.PrintPage event.

E.
Call the PrintDialog.ShowDialog method.

F.
Call the PrintPreviewDialog.ShowDialog method.

Explanation:
PrintDialog wird nicht bentigt daher A D und F



Leave a Reply 0

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