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

问题:

[单选]

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.  
The application contains a composite user control that includes a TextBox control named txtInput.  
The user control will be hosted in a window and will have handlers for the text-changed event of txtInput.  
You need to ensure that the application meets the following requirements: 
Creates a text-changed event handler named Audit_TextChanged for the txtInput control. 
Executes Audit_TextChanged even when specific handlers mark the event as handled. 
Which code segment should you add to the constructor of the user control?()

A . txtInput.TextChanged+=Audit_TextChanged;
B . AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
C . EventManager.RegisterClassHandler(typeof(TextBox), TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
D . EventManager.RegisterClassHandler(typeof(TextBox), TextBox.TextChangedEvent, new RoutedEventHandler (Audit_TextChanged), false)

前作的污染源通常表现为() 杂草种子的严重污染。 同种的其他品种污染。 其他类似植物种的污染。 包括A、B和C三种情形。 在Photoshop CS2或ImageReady CS2中新建的图像可以有()个图层。   一个。 两个。 多个。 没有。 提高员工的工作满意度的方法有()。 让工作变得更加有趣。 组织公正。 让员工从事感兴趣的工作。 避免乏味的重复性工作。 图层的()两项决定了其像素与其他图层中的像素相互作用的方式。  不透明度。 填充不透明度。 混合选项。 图层样式。 留存收益是企业利润所形成的,所以留存收益没有资金成本。

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.  
The application contains a composite user control that includes a TextBox control named txtInput.  
The user control will be hosted in a window and will have handlers for the text-changed event of txtInput.  
You need to ensure that the application meets the following requirements: 
Creates a text-changed event handler named Audit_TextChanged for the txtInput control. 
Executes Audit_TextChanged even when specific handlers mark the event as handled. 
Which code segment should you add to the constructor of the user control?()

参考答案:

  参考解析

本题暂无解析

在线 客服