单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5. You have implemented the PrintPage event to send the page output to the printer.The users must select the printer and the page range before printing. You need to ensure that users can print the content of the form by clicking the button control.
Which code segment should you use?()
A.A
B.B
C.C
D.D
点击查看答案
相关考题
-
单项选择题
You are creating a Windows Forms application for the design of circuit boards and electronic equipment. You use the .NET Framework 3.5 to create the application x that allows designers to preview designs before printing them.The previewed documents must meet the following requirements: (1)The graphics and text are displayed clearly. (2)The fullscale preview is set as default for the documents. (3)The zoom setting of the preview control is adjusted automatically when the form is resized. You need to ensure that the requirements are met when the form that contains the custom print preview control is displayed. Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5. The application is configured to use rolebased security.You need to ensure that users can print reports only by selecting a printer from the printer dialog box. You want to achieve this goal by using the minimum level of permission. Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
You are creating a Windows Forms application that has the print functionality by using the .NET Framework 3.5. You implement the PrintPage page event for the form.You associate an instance of the PrintDocument control along with an instance of the PrintPreviewDialog control named prevDialog1.You want to set the default size of the PrintPreviewDialog class to full screen. You need to provide a print preview for the user by adding a code segment to the Click event of the button on the form. Which code segment should you use?()
A.A
B.B
C.C
D.D
