当前位置:MCPD(70-511)题库

问题:

[单选]

You use Microsoft .NET Framework 4 to create a Windows Forms application. 
You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in an
ElementHost control named elementHost1. 
You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that the application changes the background color of the hosted control when the background color of the form changes.  
Which code segment should you insert at line 05?()

A . elementHost1.PropertyMap.Remove("BackColor"); elementHost1.PropertyMap.Add("BackColor", new PropertyTranslator(OnBackColorChange));
B . elementHost1.PropertyMap.Remove("Background"); elementHost1.PropertyMap.Add("Background", new PropertyTranslator(OnBackColorChange));
C . elementHost1.PropertyMap.Add("BackColor", new PropertyTranslator(OnBackColorChange)); elementHost1.PropertyMap.Apply("BackColor");
D . elementHost1.PropertyMap.Add("Background", new PropertyTranslator(OnBackColorChange)); elementHost1.PropertyMap.Apply("Background")

煤气设备或管道用氮气置换时,应先开()。 放散管闸阀。 煤气吹刷头阀门。 氮气阀门。 You want to install windows 2000 professional on a system. which two commands can be used to run the setup of Windows 2000 professional. () WINNT*EXE。 SETUP*EXE。 WINNT32*EXE。 INSTALLER*EXE。 根据还原蒸馏法炼锌或湿法炼锌对焙砂的要求不同,沸腾焙烧分别采用()和()两种不同的操作。 由于优先股股利是税后支付的,因此,相对于债务融资而言,优先股融资并不具有财务杠杆效应。 You are a network administrator for Alpine Ski House. The network consists of a single Active Directory domain named alpineskihouse.com.Your company acquires a company named Adventure Works. The Adventure Works network consists of a single Active Directory domain named adventure-works.com. A server named Server32 is a network-management application server in the adventure-works.com domain. Server32 accesses all of the desktop client computers to perform automated software upgrades and hardware inventory. The network-management software on Server32 references desktop computers by unqualified host names, which are resolved to clientname.adventure-works.com by using a DNS server. You join Server32 to your domain to become server32.alpineskihouse.com. The Server32 IP address is 10.10.10.90.You are gradually migrating all adventure-works.com desktop client computers to your domain to become clientname.alpineskihouse.com. You do not have access to the adventure-works.com DNS server. When Server32 attempts to apply an update to the client computers, the network-management software returns many alerts that say that desktop computers cannot be found.   You want to allow the network-management software on Server32 to resolve unqualified client computer host names in adventure-works.com or alpineskihouse.com, and you want to use the minimum amount of administrative effort. What should you do?() On the DNS server for alpineskihouse.com, add a zone for adventure-works.com. Create a host (A) record for server32.adventure-works.com that points to 10.10.10.90.。 On Server32, in System Properties, type adventure-works.com in the Primary DNS suffix of this computer field in the DNS Suffix and Netbios Computer Name setting.。 On Server32, configure a Hosts file that contains the name and IP address of every network computer.。 On Server32, in Advanced TCP/IP Settings, add adventure-works.com and alpineskihouse.com to the Append these DNS suffixes (in order) setting.。

You use Microsoft .NET Framework 4 to create a Windows Forms application. 
You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in an
ElementHost control named elementHost1. 
You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that the application changes the background color of the hosted control when the background color of the form changes.  
Which code segment should you insert at line 05?()

参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服