多项选择题
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.
单项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NetFramework3.5.Youplantodisplaydetailedhelpinstructionsforeachcontrolintheform.Youcreateahelpfile.YouconfigureaHelpProvidercomponentontheform.YouneedtodisplaythehelpfileforthecontrolthatisfocusedwhentheF1keyispressed.WhichmethodoftheHelpProviderclassshouldyoucallforeachcontrol?()
单项选择题 You are developing a component by using the .NET Framework 3.5.The component provides a method named PrintPayroll.The component will be installed with full trust on the computer of the user. You need to ensure that the component can print without granting additional permissions to the calling application.Which code segment should you use?()
单项选择题 You are creating a Windows Forms application using the .NET Framework 3.5.You implement the PrintPage page event for a form.The users must be able to print the pages by using the Landscape orientation.You need to ensure that the users can set the page settings before printing. Which code segment should you use?()