试题详情
单项选择题 You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application.You add a PrintDocument control named pntDoc to the form.To support the print functionality, you write the following code segment in the application  (Line numbers are included for reference only.) You need to ensure that the following requirements are met:  (1)When the user has no print access, font and file stream initializations are not executed and the print operation is cancelled   (2)Print operations are logged whether or not the user has print access    What should you do?()

A、A

B、B

C、C

D、D

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

热门试题