试题详情
多项选择题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?()

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.

  • B,C
  • 关注下方微信公众号,在线模考后查看

热门试题