护理学专业知识

单选题You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of  the ListBox control. You nee

题目
单选题
You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of  the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()
A

[Bindable(false)]

B

[DesignOnly(false)]

C

[EditorBrowsable(EditorBrowsableState.Never)]

D

[Browsable(false)]

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are planning to migrate an existing web application to Windows Azure.  The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified.  You need to recommend a strategy for migrating the application to Windows Azure.  What should you recommend?()

  • A、 Define a Windows CommunicationFoundation (WCF) contract for the services.
  • B、 Deploy each Windows Service to a separate worker role.  Deploy the ASP.NET application to a web role.
  • C、 Deploy the application and Windows Services in a Windows Azure VM role.
  • D、 Upload service binaries to a web role by using the Windows Azure Service Management API.

正确答案:B

第2题:

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of  the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()

  • A、[Bindable(false)]
  • B、[DesignOnly(false)]
  • C、[EditorBrowsable(EditorBrowsableState.Never)]
  • D、[Browsable(false)]

正确答案:D

第3题:

You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service.Which hosting environment should you choose? ()

A. Microsoft Internet Information Services (IIS) 6.0

B. Windows Process Activation Services (WAS)

C. A Windows Forms application

D. A Windows Service


参考答案:D

第4题:

You create Windows Forms application by using the .Net FrameWork 3.5 You plan to deploy a new application to client computers that use the Windows Vista operating system. You need to ensure that the user can install the application without being prompted fore elevated permission.What should you do?()

  • 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.

正确答案:A

第5题:

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to create a customized Print Preview dialog box in the application. You need to ensure that users can preview their documents before printing. Which two actions should you perform?()

  • A、Add a PrintPreviewDialog control to the form.
  • B、Add a PrintPreviewControl control to the form.
  • C、Create and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
  • D、Create and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
  • E、Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.

正确答案:B,C

第6题:

You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script.  What should you recommend?()  

  • A、 Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script.  Connect to the web role instance by using RDP, and then manually test the startup script.
  • B、 Deploy the application in the Windows Azure Compute Emulator.
  • C、 Deploy the application with a custom error page.
  • D、 Deploy the application and then use IntelliTrace.

正确答案:A

第7题:

You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application.You need to ensure that on deployment, the application meets the following requirements:  (1)It is executed on the client computer   (2)It is removed from the client computer after the application is closed   (3)It is not displayed in theAdd/Remove programs panel on the client computer    What should you do?()

  • A、Deploy the application to a central network server.Access the application by using the Remote Desktop Connection tool.
  • B、Deploy the application by using the ClickOnce technology.Use the Mage exe tool to set the Online Only option in the deployment manifest.
  • C、Deploy the application by using the ClickOnce technology.Set the Install attribute of the deployment tag to true in the deployment manifest.
  • D、Deploy the application to a CDROM by using the ClickOnce technology.Execute the application from the CDROM

正确答案:B

第8题:

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation systemYou need to ensure that users can select a range of travel dates.What should you do ?()

A. Add single DatePicker control to the design surface

B. Add single Calendar control to the design surface

C. Add single MediaElement control to the design surface to display a calendar

D. Add the appropriate Windows Forms references to the project references. Add a single Windows Forms DateTimePicker control to the design surface


参考答案:B

第9题:

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system You need to ensure that users can select a range of travel dates. What should you do ?()

  • A、Add single DatePicker control to the design surface
  • B、Add single Calendar control to the design surface
  • C、Add single MediaElement control to the design surface to display a calendar
  • D、Add the appropriate Windows Forms references to the project references. Add a single Windows Forms DateTimePicker control to the design surface

正确答案:B

第10题:

You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application by using the ClickOnce deployment technology.  The application is signed by using a certificate obtained from a trustworthy authority. You need to ensure that the application can be deployed as a trusted application to Windows Vista client computers on a corporate network.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 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.

正确答案:D

更多相关问题