单项选择题
A.Create a new custom class for the control that is derived from the Control class.
B.Create a new custom class for the control that is derived from the UserControl class.
C.Create a new custom class for the control that is derived from the ContentControl class.
D.Create a new custom class for the control that is derived from the ContentPresenter class.
多项选择题 YouaredevelopingaWindowsFormsApplicationbyusingthe.NETFramework3.5.YouplantocreateacustomizedPrintPreviewdialogboxintheapplication.Youneedtoensurethatuserscanpreviewtheirdocumentsbeforeprinting.Whichtwoactionsshouldyouperform?()
单项选择题 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?()