欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

单项选择题

你正在创建一个自定义服务器控件,并且你需要此控件支持在Visual Studio 2005设计器中使用。为此,你创建了两个类:一个是从Composite Control继承的myControl类,另一个是从Composite ControlDesigner继承的myControlDesigner类。你需要把myControl和myControlDesigner进行关联。下面那一个可以正确达到此目的?()

    A.[Designer(myControlDesigner)] public class myControl: CompositeControl
    B.[Designer(typeof(myControl))] public class myControlDesigner: CompositeControlDesigner
    C.[Designer(myControl)] public class myControlDesigner: CompositeControlDesigner
    D.[Designer(typeof(myControlDesigner))] public class myControl: CompositeControl

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题