单项选择题
You are developing a Windows Presentation Foundation (WPF) application.You need to display HTML content from a Web page on the WPF form. What should you do?()
A. Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
B. Add a DocumentViewer control to the design surface. Then create a FixedDocument control.
C. Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.
D. Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.
相关考题
-
单项选择题
You use Microsoft .NET Framework 4 to create a Windows application. You want to use the ClickOnce technology to deploy the application on computers that run Windows Vista with User Access Control (UAC) enabled. You need to ensure that the application can be installed in a secure manner. Which setting should you use in the application manifest?()
A.
B.
C.
D. -
单项选择题
You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4. You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer. What should you do?()
A. Use a custom action.
B. Set the MinVersion property to .NET Framework 4.
C. Set the Version property of Windows Installer to .NET Framework 4.
D. Set the Version property of the Launch Condition to .NET Framework 4. -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. You create an icon file named Application.ico. You need to associate Application.ico with MyApp.exe when it is deployed. What should you do?()
A. Use the File Types Editor tool.
B. Rename the icon file to MyApp.exe .ico.
C. Set the AddRemoveProgramsIcon property to Application.ico.
D. Use the File System Editor tool to set the Icon property to Application.ico.
