You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application. Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard. You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling. Which two actions should you perform?()
- A、 Mark the resource as an embedded resource in each application.
- B、 Create a resource in an XAML file that contains the logo and style configurations.
- C、 Create a resource in a custom control that contains the logo and style configurations.
- D、 Add the resource as a ResourceDictionary in the MergedDictionaries collection of each application.
- E、 Use ResourceManager to read the content of the resource. Manually assign the style configurations included in the resource file to the appropriate control in each application.
正确答案:B,D
答案解析:有

微信扫一扫手机做题