题目内容

YouarecreatingaWindowsapplicationbyusingthe.NETFramework3.5.YoucreateaninstanceoftheBackgroundWorkercomponentnamedbackgroundWorker1toasynchronouslyprocesstimeconsumingreportsintheapplication.Youwritethefollowingcodesegmentintheapplication(Linenumbersareincludedforreferenceonly.)
Youneedtowriteacodesegmentthatreportstotheapplicationwhenthebackgroundprocessdetectsanyofthefollowingactions:
(1)Anexceptionisthrown
(2)Theprocessiscancelled
(3)Theprocessissuccessfullycompleted
Whichcodesegmentshouldyouinsert?()

查看答案
更多问题

简述主旨的含义。

述职报告是什么?

YouarecreatingaWindowsFormsapplicationforthedesignofcircuitboardsandelectronicequipment.Youusethe.NETFramework3.5tocreatetheapplicationxthatallowsdesignerstopreviewdesignsbeforeprintingthem.Theprevieweddocumentsmustmeetthefollowingrequirements:
(1)Thegraphicsandtextaredisplayedclearly.
(2)Thefullscalepreviewissetasdefaultforthedocuments.
(3)Thezoomsettingofthepreviewcontrolisadjustedautomaticallywhentheformisresized.
Youneedtoensurethattherequirementsaremetwhentheformthatcontainsthecustomprintpreviewcontrolisdisplayed.
Whichcodesegmentshouldyouuse?()

YouarecreatingaWindowsFormsapplicationthathastheprintfunctionalitybyusingthe.NETFramework3.5.YouimplementthePrintPagepageeventfortheform.YouassociateaninstanceofthePrintDocumentcontrolalongwithaninstanceofthePrintPreviewDialogcontrolnamedprevDialog1.YouwanttosetthedefaultsizeofthePrintPreviewDialogclasstofullscreen.
YouneedtoprovideaprintpreviewfortheuserbyaddingacodesegmenttotheClickeventofthebuttonontheform.
Whichcodesegmentshouldyouuse?()

答案查题题库