black

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

相关考题

单项选择题 You are creating a Windows Forms application by using the .NET Framework 3.5  The application requires a form to display a clock.You need to create a circular form to display the clock. Which code segment should you use?()

单项选择题 YouarecreatingaWindowsapplicationbyusingthe.NETFramework3.5.YoucreateaninstanceoftheBackgroundWorkercomponentnamedbackgroundWorker1toasynchronouslyprocesstimeconsumingreportsintheapplication.Youwritethefollowingcodesegmentintheapplication(Linenumbersareincludedforreferenceonly.) Youneedtowriteacodesegmentthatreportstotheapplicationwhenthebackgroundprocessdetectsanyofthefollowingactions: (1)Anexceptionisthrown (2)Theprocessiscancelled (3)Theprocessissuccessfullycompleted Whichcodesegmentshouldyouinsert?()

单项选择题 You are creating a Windows application by using the .NET Framework 3.5.You plan to create a form that might result in a timeconsuming operation.You use the QueueUserWorkItem method and a Label control named lblResult.You need to update the users by using the lblResult control when the process has completed the operation. Which code segment should you use?()

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064