You are creating a Windows Forms application by us...
单选题

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?()

发布日期:2021-01-28

A.A

B.B

C.C

D.D

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定