多项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5. The application displays employee names by using the TreeView control. You need to implement the drag and drop functionality in the TreeView control.Which two actions should you perform?()
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. -
单项选择题
You create Windows Forms applications by using the .NET Framework 3.5. You plan to use a setup project to deploy a new Windows Forms application.The application uses a component that requires the Microsoft NET Framework 1.1.You need to create a launch condition so that the application can be deployed on client computers. What should you do?()
A.Use the Depth property.
B.Use the Version property.
C.Use the MinVersion property.
D.Use the ComponentID property.
