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

单项选择题

You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in the application.You add a ContextMenuStrip control named dctxMenu to the form. You have a user defined class named CustomControl.You write the following code segment in the application (Line numbers are included for reference only )
CustomControl myControl = new CustomControl(); 
You need to ensure that an instance of CustomControl is displayed on the form as a toplevel item of the ctxMenu control.  
Which code segment should you add?()

    A.A
    B.B
    C.C
    D.D

点击查看答案
微信小程序免费搜题
微信扫一扫,加关注免费搜题

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