试题详情
单项选择题 You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a control for the application.You need to ensure that the control meets the following requirements:    (1)Contains the DataGridView, BindingSource, and BindingNavigator controls.  (2)Exposes the properties of the BindingSource control.   (3)Protects the properties of the DataGridView and BindingNavigator controls.    What sholud you do?()

A、Extend the Control class.

B、Extend the ContainerControl class.

C、Create protected accesses for each control property.

D、Create public accesses for the properties of the BindingSource control.

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题