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

微软认证考试

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

You create a custom control named OrderForm.  You write the following code segment.  public delegate void  CheckOrderFormEventHandler(EventArgs e);  private static readonly object CheckOrderFormKey  = new object( );  public event CheckOrderFormEventHandler  CheckOrderForm {  add {  Events.AddHandler(CheckOrderFormKey, value);  }  remove {  Events.RemoveHandler(CheckOrderFormKey,  value);  }  }  You need to provide a method that enables the OrderForm control to raise the CheckOrderForm event.  Which code segment should you use?()

  • A、
  • B、
  • C、
  • D、
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题