单项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youcreateanewformintheapplication.YouaddaContextMenuStripcontrolnameddctxMenutotheform.YouhaveauserdefinedclassnamedCustomControl.Youwritethefollowingcodesegmentintheapplication(Linenumbersareincludedforreferenceonly) CustomControlmyControl=newCustomControl(); YouneedtoensurethataninstanceofCustomControlisdisplayedontheformasatoplevelitemofthectxMenucontrol. Whichcodesegmentshouldyouadd?()
单项选择题 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?()