修改成员服务器的ip地址,管理员在网络中部署了一台DHCP服务器之后,某用户擅自手动修改了自己的主机IP地址,则下面描述正确的是()。...

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 anElementHost 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?()

2D777510FE2F3C75E68A192DA66F7AC0.jpg

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");

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值