You are creating a Windows Forms application for a financial

题目
单选题
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

参考答案和解析
正确答案: D
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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

第2题:

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

第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 are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()

  • A、The XmlReader class
  • B、The XmlDocument class
  • C、The XmlResolver class
  • D、The LINQ to XML method

正确答案:A

第5题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.Users use the application to process and approve invoices. A list of recently accessed invoices is stored in the users settings section of the App.config file.You need to maintain the list of invoices from the last persisted state.What should you do?()

  • A、Use the Properties.Settings object during runtime.
  • B、Use the Properties.Settings.Default object during runtime.
  • C、Use the ConfigurationManager.AppSettings object during runtime.
  • D、Use the ConfigurationManager.GetSection method during runtime.

正确答案:B

第6题:

You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to deploy the application in multiple countries and languages.You need to ensure that the application meets the globalization requirements. Which two actions should you perform?()

  • A、Handle server names and URLs as ASCII data
  • B、Use Unicode strings throughout the application
  • C、Use the NumberFormatInfo class for numeric formatting
  • D、Handle strings as a series of individual characters instead of entire strings
  • E、Avoid usage of the SortKey class and the CompareInfo class for sorting purposes

正确答案:B,C

第7题:

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

第8题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.Your applciation will be used by a government depertment.You need to ensure that the application meets "accessibilty" requirements.Which three actions should you perform?()

  • A、Expose keyboard focus visually and programmatically.
  • B、Use the NeutralResourceLanguageAttribute attribute in the assembly.
  • C、Provide documented keyboard access to all application features.
  • D、Set all the colors to primary colors when the high contrast mode is on.
  • E、Display all user interface elements by using the system color scheme when high contrast mode is off.
  • F、Either display all visual cues or create sound effects for any information.

正确答案:A,C,E

第9题:

You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form.You need to display the help file for the control that is focused when the F1 key is pressed.Which method of the HelpProvider class should you call for each control?()

  • A、SetShowHelp
  • B、SetHelpString
  • C、SetHelpKeyword
  • D、SetHelpNavigator

正确答案:A

第10题:

单选题
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


正确答案: A
解析: 暂无解析

更多相关问题