单项选择题
You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new Windows Presentation Foundation (WPF) XAML browser application (XBAP).The deployment must meet the following requirements:
(1)shortcut is added to the Start menu
(2)The most recent version of the application is installed and executed on client computers
(3)Users can uninstall the application from the control panel
You need to identify a deployment technology that meets the specified requirements.You want to achieve this goal by using the minimum amount of development effort.
Which deployment technology should you use?()
A.XCOPY
B.ClickOnce
C.MicrosoftWindows Installer
D.Remote Desktop connections
相关考题
-
单项选择题
You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application.You need to ensure that on deployment, the application meets the following requirements: (1)It is executed on the client computer (2)It is removed from the client computer after the application is closed (3)It is not displayed in theAdd/Remove programs panel on the client computer What should you do?()
A.Deploy the application to a central network server.Access the application by using the Remote Desktop Connection tool.
B.Deploy the application by using the ClickOnce technology.Use the Mage exe tool to set the Online Only option in the deployment manifest.
C.Deploy the application by using the ClickOnce technology.Set the Install attribute of the deployment tag to true in the deployment manifest.
D.Deploy the application to a CDROM by using the ClickOnce technology.Execute the application from the CDROM -
单项选择题
YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodevelopanewcontrolfortheapplication.YouneedtoensurethatthecontrolextendstheTreeViewcontrolbyaddingacustomnodetagandahighlightcolor.Whatshouldyoudo?()
A.Override the OnPaint method.
B.Write a code segment in the DrawNode event handler to specify the highlight color.
C.Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.
D.Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler. -
单项选择题
YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodevelopacustomcontrolfortheapplication.Thecontrolwillbeacompositecontrol.Yourneedtoderivefromtheclassthatwillcreatethecontrolbyusingtheminimumamountofdevelopmenteffort.Whatshouldyoudo?()
A.Derive from the Control class.
B.Derive from the UserControl class.
C.Derive from the FrameworkElement class.
D.Derive from the ContainerControl class.
