单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application. You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text. What should you do?()
A.Override the OnPaint method.
B.Write a code segment to handle the CellPainting event.
C.Write a code segment to handle the CellParsing event.
D.Write a code segment to handle the RowPostPaint event.
相关考题
-
单项选择题
YouarecreatingaWindowsFormsApplicationbyusingthe.NETFramework3.5.YouplantocreateaWindowsInstallerpackageforaWindowsFormsapplication.ThepackagewillbedeployedonWindowsVistacomputers.Youneedtoensurethatduringdeploymenttheinstallationdoesnotelevateprivilegesoftheuserinstallingtheapplication.Whatshouldyoudo?()
A.Create a custom action and set the NoImpersonate property to true
B.Create a custom action and set the NoImpersonate property to false
C.Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker
D.Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator -
单项选择题
YoucreateWindowsFormsapplicationbyusingthe.NetFrameWork3.5YouplantodeployanewapplicationtoclientcomputersthatusetheWindowsVistaoperatingsystem.Youneedtoensurethattheusercaninstalltheapplicationwithoutbeingpromptedforeelevatedpermission.Whatshouldyoudo?()
A.Sign the deployment manifest by using an Authenticode certificate.Publish the application to a CD-ROM.Install the application on each client computer from the CD-ROM
B.Sign the deployment manifest by using an Authenticode certificate.Publish the application to a server on the network.Install the application on each client computer.
C.Add the requestedExecutionLevel="highestAvailable" attribute to the deployment.Publish the application to a server on the network.Install the application on each client computer.
D.Add the requestedExecutionLevel="requiresAdministrator" attribute to the deployment.Publish the application to a server on the network.Install the application on each client computer. -
单项选择题
HowtoshowhelpfilebypressF1?()
A.SetShowHelp
B.SetHelpString
C.SetHelpKeyword
D.SetHelpNavigator
