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
答案解析:有
微信扫一扫手机做题