单选题You are creating a Windows Forms application by using the .NET Framework 3.5. You have resource files in five different languages. You need to test the application in each language. What should you do?()A Set the CurrentCulture property explicitly to t

题目
单选题
You are creating a Windows Forms application by using the .NET Framework 3.5. You have resource files in five different languages. You need to test the application in each language. What should you do?()
A

Set the CurrentCulture property explicitly to the respective culture for each language.

B

Set the CurrentCulture property explicitly to IsNeutralCulture for each language.

C

Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.

D

Set the CurrentUICulture property explicitly to the respective culture for each language.

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

第1题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application.The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()

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

正确答案:C

第2题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. When you access the application in a Web browser, you receive the following error message: "Service Unavailable".  You need to access the application successfully.  What should you do?()

  • A、Start Microsoft IIS 6.0. 
  • B、Start the Application pool. 
  • C、Set the .NET Framework version. 
  • D、Add the Web.config file for the application.

正确答案:B

第3题:

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

正确答案:B

第4题:

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.

正确答案:B,D

第5题:

You are creating a Windows Forms application by using the .NET Framework 3.5.You have resource files in five different languages.You need to test the application in each language. What should you do?()

  • A、Set the CurrentCulture property explicitly to the respective culture for each language.
  • B、Set the CurrentCulture property explicitly to IsNeutralCulture for each language.
  • C、Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.
  • D、Set the CurrentUICulture property explicitly to the respective culture for each language.

正确答案:D

第6题:

You are creating a Windows Forms application by using the .Net Framework 3.5.You create an instance of a Backgroundworker component named backgroundWorker1 to process operations that take a long time.You discover that when the application attempts to report the progress,you receive a System.InvalidOperationException exception when executing  the backgroundWorker1.ReportProgress method.You need to configure the BackgroundWorker component appropriately to prevent the application from generating exceptions.What should yo do?()

  • A、Set the Result property of the DoWorkEventArgs instance to True before you attempt to report the progress.
  • B、Set the CancellationPending property of backgroundWorker1 to True before you attempt to report the background process
  • C、Set the WorkerReportsProgress property of backgroundWorker1 to True before you attempt to report the background process.
  • D、Report the progress of the background process in the backgroundWorker1_ProgressChanged event.

正确答案:C

第7题:

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 TreeView control by adding a custom node tag and a highlight color.What should you do?()

  • A、Override the OnPaint method.
  • B、Write a code segment in the DrawNode event handler to specify the highlight color.
  • C、Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.
  • D、Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.

正确答案:D

第8题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application. The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()

  • 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

正确答案:C

第9题:

You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4. You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer. What should you do?()

  • A、 Use a custom action. 
  • B、 Set the MinVersion property to .NET Framework 4.
  • C、 Set the Version property of Windows Installer to .NET Framework 4.
  • D、 Set the Version property of the Launch Condition to .NET Framework 4.

正确答案:D

第10题:

You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.The control will have the same properties as a TextBox control.You need to ensure that the control has a transparent background when it is painted on form.You want to achieve this goal by using the minimum amount of development effort.What should you do?()

  • A、Create a new class that is derived from the Control class.Call the SetStyle method in the constructor.
  • B、Create a new class that is derived from theTextBox control class.Override the OnPaint method in the constructor.
  • C、Create a new class that is derived from the Control class.Set the BackColor property of the control to Transparent.Call the SetStyle method in the constructor.
  • D、Create a new class that is derived from theTextBox control class.Set the BackColor property of the control to Transparent in the constructor.Call the SetStyle method in the constructor.

正确答案:D

更多相关问题