多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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: AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true); Which of the following statments are TRUE ?()

  • A、 A text-changed event handler, named Audit_TextChanged, was Created for the txtInput control.
  • B、 Audit_TextChanged will stop running because the event is marked as handled by certain event handlers. 
  • C、 Even through the event is marked handled by certain event handlers, Audit_TextChanged  will still run.
  • D、 Audit_TextChanged will continue to run until the event is marked as handled.
正确答案:A,C
答案解析:
进入题库查看解析

微信扫一扫手机做题