单项选择题
You are creating a Windows Forms application for a financial service provider by using the .NET Framework 3.5. You have to implement a multiple document interface (MDI) in the application to allow users to open multiple financial documents simultaneously.You need to ensure that whenever the child MDI form is created, the application displays a message in the title bar of the parent MDI that a child form has received focus.
What should you do?()
A.Implement theActivated event
B.Implement the MdiChildActivate event
C.Override the OnParentVisibleChanged method
D.Override the OnParentBindingContextChanged method
相关考题
-
多项选择题
YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.TheapplicationdisplaysemployeenamesbyusingtheTreeViewcontrol.YouneedtoimplementthedraganddropfunctionalityintheTreeViewcontrol.Whichtwoactionsshouldyouperform?()
A.Set theAllowDrag property to true.Create an event handler for the DragOver event.
B.Set theAllowDrag property to true.Create an event handler for the ItemDrag event to call the DoDragDrop method.
C.Set theAllowDrag property to true.Create an event handler for the DragEnter event to call the DoDragDrop method .
D.Create an event handler for the DragDrop event to handle the move or copy by itself.
E.Create an event handler for the DragEnter event to handle the move or copy by itself. -
单项选择题
You create Windows Forms applications by using the .NET Framework 3.5. You plan to deploy a new application by using the ClickOnce technology.During deployment, the application performs the following tasks: (1)Modifies registry keys (2)Modifies the files located in the %PROGRAM FILES% folder (3)Administrative permissions are not granted to users who install the application You need to ensure that the following requirements are met: (1)The application can be deployed to Windows Vista client computers that are not part of an Active Directory domain (2)When the application is deployed, users are not prompted to elevate their permissions What should you do?()
A.Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
B.Create a manifest and set the RequestedExecutionLevel level attribute to As Administrator.
C.Create a new certificate trust list (CTL).Use the CertMgr.exe tool to install the CTL on the local computer.
D.Create a new certificate trust list (CTL).Install the CTL on the server that has theClickOnce application published. -
单项选择题
YoucreateWindowsFormsapplicationsbyusingthe.NETFramework3.5.YouplantodeployanewapplicationbyusingtheClickOncedeploymenttechnology.Theapplicationissignedbyusingacertificateobtainedfromatrustworthyauthority.YouneedtoensurethattheapplicationcanbedeployedasatrustedapplicationtoWindowsVistaclientcomputersonacorporatenetwork.Whatshouldyoudo?()
A.Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
B.Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.
C.Create a new certificatetrust list (CTL).Install the CTL on the server that has the ClickOnce application published.
D.Create a new certificate trust list (CTL).Request the network administrator to deploy the CTL by using Group Policy.
